通过电子邮件发送给多个收件人的HTML邮寄地址:不工作 [英] Emailing to multiple recipients with html Mailto: not working

查看:185
本文介绍了通过电子邮件发送给多个收件人的HTML邮寄地址:不工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有400到的500多名电子邮件,当我们将它们连接起来,并把他们的mailto:它不工作,浏览器会自动添加...在电子邮件并点击链接不起作用之间

we have 400 to 500 hundred emails, when we concatenate them and put them in mailto: it does not work, browser automatically adds "..." in between emails and clicking link does not work.

<a href='mailto:one@email.com,two@email.com....400@email.com'>open emails</a>

是否有关于的mailto的最大长度:属性?还有没有其他的方式,我可以打开多个电子邮件?

Is there a maximum length on mailto: attribute ? is there any other way i can open multiple emails ?

推荐答案

我想补充更多的细节...什么RFC 1738实际上说的是

Just to add a bit more detail... What RFC 1738 actually says is

一个mailto URL的形式:

A mailto URL takes the form:

    mailto:<rfc822-addr-spec>

在哪里(的编码)地址规格,如
   在RFC 822指定[6]。

where is (the encoding of an) addr-spec, as specified in RFC 822 [6].

虽然RFC2822可能已经纳入RFC822,RFC2822不改变地址规格规范(3.4.1节)为

and while RFC2822 may have subsumed RFC822, RFC2822 does not change the addr-spec specification (section 3.4.1) as

 addr-spec   =  local-part "@" domain

更具体地说,RFC 1738不说URL需要一个RFC822地址规范的形式,而是直接说,一个地址规格的编码。

More specifically, RFC 1738 does not say the URL takes the form of an RFC822 Address Specification but directly says the encoding of an addr-spec.

这是事实,在RFC2822,第3.4节地址规范组的定义,从修改,在RFC822,

It is true that in RFC2822, section 3.4 Address Specification, the definition of group is modified from, in RFC822,

 group       =  phrase ":" [#mailbox] ";"

 mailbox     =  addr-spec                    ; simple address
             /  phrase route-addr            ; name & addr-spec

 group           =       display-name ":" [mailbox-list / CFWS] ";"

 display-name    =       phrase

 mailbox-list    =       (mailbox *("," mailbox)) / obs-mbox-list

 mailbox         =       name-addr / addr-spec

这确实允许多个地址,规格,但同样,一个地址,规范本身的定义保持不变。

which does allow multiple addr-specs, but again, the definition of an addr-spec itself remains unchanged.

我可以得出结论,那么,虽然它可能工作,它不提供正式支持。

I would conclude, then, that while it might work, it is not officially supported.

这篇关于通过电子邮件发送给多个收件人的HTML邮寄地址:不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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