包括将在Gmail /邮箱应用中打开的主题和正文的mailto网址

时间:2013-07-23 19:54:05

标签: html email gmail mailto

我有点困惑的是,这个mailto url成功打开了一封在iOS邮件应用程序上正确填写的新电子邮件,但在Gmail和邮箱应用程序中点击时无法打开任何内容(最新的)版本):

<a href="mailto:email@address.com?subject=This is the subject&body=This is the body">link</a>

有关如何在Gmail / Mailbox iOS应用中打开此mailto url的任何想法,就像在标准iOS邮件应用中一样吗?感谢。

2 个答案:

答案 0 :(得分:3)

这是Gmail应用的一个错误,请参阅下面的链接。 对该主题发表评论,以便Gmail小组注意到:)

https://groups.google.com/a/googleproductforums.com/d/msgid/gmail/0fac71fe-546f-4dba-a85c-93c28ac1bbc6%40googleproductforums.com

答案 1 :(得分:0)

尝试用主题和正文中的%20替换空格。

像这样:

<a href="mailto:email@address.com?subject=This%20is%20the%20subject&body=This%20is%20the%20body">link</a>