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

Posted by Ali on Stack Overflow See other posts from Stack Overflow or by Ali
Published on 2010-04-07T06:38:38Z Indexed on 2010/04/07 6:43 UTC
Read the original article Hit count: 358

Filed under:
|
|
|

Hi guys this is a followup from the question:

http://stackoverflow.com/questions/2583928/prefilling-gmail-compose-screen-with-html-text

Where I was building a google apps application - I can call a gmail compose message page from my application using the url:

https://mail.google.com/a/domain/?view=cm&fs=1&tf=1&source=mailto&to=WHOEVER%40COMPANY.COM&su=SUBJECTHERE&cc=WHOEVER%40COMPANY.COM&bcc=WHOEVER%40COMPANY.COM&body=PREPOPULATEDBODY

However when I try to pass in the body parameter a very long line of text eg as a reply message body I get this error from GMAIL stating the REQUEST URI is too long. Is there a better way to do this as in a way to fillin the text body box of gmail compose section. Or some way to open the page and have it prefilled with javascript some how...

© Stack Overflow or respective owner

Related posts about gmail

Related posts about JavaScript