预填充GMAIL中的大量正文文本会导致获取Request URI太长的错误 [英] Prefilling large volumes of body text in GMAIL compose getting a Request URI too long error

查看:126
本文介绍了预填充GMAIL中的大量正文文本会导致获取Request URI太长的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,这是以下问题的后续处理:



在哪里构建Google应用程序应用程序 - 我可以调用一个gmail使用网址从我的应用程序撰写邮件页面:



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 = PREPPULATEDBODY



然而,当我尝试传递一个非常长的文本行参数例如作为回复邮件正文我从GMAIL得到这个错误陈述REQUEST URI太长。有没有更好的方法来做到这一点,以填补gmail撰写部分的文本框。或某种方式来打开页面,并预先填好了JavaScript的一些如何......

解决方案

我没有足够的业力评论维克托的答案本身,但不,你不能张贴到Gmail的撰写窗口。我自己试了一下,刚刚拿到了我的普通旧版Gmail主屏幕,而不是撰写屏幕,当然也不是那些按OP要求填写的值的撰写屏幕。



这是太糟糕了,因为将大量信息放入Gmail撰写窗口是一个不错的主意。 Gmail团队中的任何人都会关心解决这个问题吗?


Hi guys this is a followup from the question:

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...

解决方案

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?

这篇关于预填充GMAIL中的大量正文文本会导致获取Request URI太长的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆