Prefilling Gmail Compose Screen with HTML Text

Prefilling gmail compose screen with HTML text

Check that your UrlEncode method really translates newlines into "%0a". Here's an example of a 2-line email body:

https://mail.google.com/mail/?view=cm&ui=2&tf=0&fs=1&to=WHOEVER%40COMPANY.COM&su=SUBJECTHERE&body=LINE1%0aLINE2

Prefilling large volumes of body text in GMAIL compose getting a Request URI too long error

I don't have enough karma to comment on Victor's answer itself, but no, you cannot POST to Gmail's compose window. I tried it myself and just got my regular old Gmail home screen, not the compose screen and certainly not the compose screen with the values filled in as the OP wanted.

It's too bad too, because it was a good idea to get loads of info into a Gmail compose window. Would anyone on the Gmail team care to address this issue?

URL to compose a message in Gmail (with full Gmail interface and specified to, bcc, subject, etc.)

This seems to work (for now):

https://mail.google.com/mail/?view=cm&fs=1&to=someone@example.com&su=SUBJECT&body=BODY&bcc=someone.else@example.com



Related Topics



Leave a reply



Submit