在 GMAIL 中预填充大量正文文本会收到请求 URI 太长错误 [英] Prefilling large volumes of body text in GMAIL compose getting a Request URI too long error

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

问题描述

这是这个问题的后续.

我在何处构建 google 应用程序应用程序 - 我可以使用 url 从我的应用程序调用 gmail 撰写消息页面:

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

但是,当我尝试在 body 参数中传递很长的文本行(例如作为回复邮件正文)时,我收到来自 Gmail 的错误消息,指出 REQUEST URI 太长.

However when I try to pass in the body parameter a very long line of text (like as a reply message body), I get an error from the Gmail stating that the REQUEST URI is too long.

是否有更好的方法来填充 gmail 撰写部分的文本正文框?或者通过某种方式打开页面,并以某种方式预先填充 Javascript?

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 somehow prefilled with Javascript?

推荐答案

我没有足够的 karma 来评论 Victor 的回答本身,但是不行,您不能 POST 到 Gmail 的撰写窗口.我自己尝试过,只是得到了我的常规旧 Gmail 主屏幕,而不是撰写屏幕,当然也没有按照 OP 需要填充值的撰写屏幕.

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.

这也太糟糕了,因为在 Gmail 撰写窗口中获取大量信息是个好主意.Gmail 团队中有人愿意解决这个问题吗?

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 中预填充大量正文文本会收到请求 URI 太长错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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