使用 HTML mailto 将邮件发送给多个接收者

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/13765286/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-29 04:15:14  来源:igfitidea点击:

send mail to multiple receiver with HTML mailto

html

提问by ethree

Possible Duplicate:
Emailing to multiple recipients with html Mailto: not working

可能重复:
使用 html Mailto 向多个收件人发送电子邮件:不起作用

I want to send with 1 HTML link a mail to multiple (100) recievers...

我想用 1 个 HTML 链接向多个(100)个接收者发送一封邮件......

<a href="mailto:[email protected]; [email protected]; [email protected]">Send</a>

This link doesn't work. It do nothing when i press the link.

这个链接不起作用。当我按下链接时它什么也不做。

回答by ethree

"There are no safe means of assigning multiple recipients to a single mailto: link via HTML. There are safe, non-HTML, ways of assigning multiple recipients from a mailto: link."

“没有通过 HTML 将多个收件人分配给单个 mailto: 链接的安全方法。有安全的非 HTML 方法可以从一个 mailto: 链接分配多个收件人。”

http://www.sightspecific.com/~mosh/www_faq/multrec.html

http://www.sightspecific.com/~mosh/www_faq/multrec.html

For a quick fix to your problem, change your ;to a comma ,and eliminate the spaces between email addresses

为了快速解决您的问题,请将您的更改;为逗号,并消除电子邮件地址之间的空格

<a href='mailto:[email protected],[email protected]'>Email Us</a>