创建GMail超链接“Mailto?”多个收件人

时间:2016-03-18 16:59:30

标签: email gmail gmail-imap

我正在尝试使用以下字符串为多个收件人创建google邮件的超链接mailto: https://mail.google.com/mail/&view=cm&fs=1&tf=1&to=recipient1@emailprovider.com,%20https://mail.google.com/mail/?view=cm&fs=1&tf=1&to=recipient2@emailprovider.com

...只有当我测试它时,它会在完全绕过recipient1时将Gmail邮件发送给收件人2,并且部分不完整的字符串:“recipient1@emailprovider.com,https://mail.google.com/mail/?view=cm

此外,我的ULTIMATE目标是添加第三个收件人。同样,结果是仅使用recipient2和相同的不完整字符串打开的草稿。

我错过了什么?

1 个答案:

答案 0 :(得分:1)

您可以在参数'to'中提及多个电子邮件收据,并以分号作为分隔符。请查看下面的示例链接:(我已经测试过,它对我有用)

  

to=recipient1@emailprovider.com; recipient2@emailprovider.com; recipient3@emailprovider.com; recipient4@emailprovider.com

完整示例:

  

https://mail.google.com/mail/?view=cm&fs=1&tf=1&to=recipient1@emailprovider.com;recipient2@emailprovider.com;recipient3@emailprovider.com;recipient4@emailprovider.com