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
File Opens Instead of Downloading in Internet Explorer in a Href Link
How to Horizontal & Vertical Center a Div
Conditional Rendering of Non-Jsf Components (Plain Vanilla HTML and Template Text)
HTML Contenteditable with Non-Editable Islands
How Many Characters Are Possible in an Input Field in HTML
Preventing Canvas Clear When Resizing Window
CSS Padding Is Not Working in Outlook
Why Does Chrome 80 Cause This Grid-Template-Rows: Auto Problem
CSS Filter Not Working in Firefox
Multiple Submit Buttons on HTML Form - Designate One Button as Default
Firefox 30 Is Not Hiding Select Box Arrows Anymore
How to Change Svg Color When It Is an Encoded CSS Background Image
How to Get The HTML Source of a Webpage in Ruby
Wkhtmltopdf Not Loading Local CSS and Images