分离多个电子邮件的最佳分隔符是什么? [英] what is the best separator to separate multiple emails
本文介绍了分离多个电子邮件的最佳分隔符是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用mailto链接来填充用户的默认电子邮件程序。
I am using mailto link to populate bcc of users default email program.
$mem_email=" ";
$sql="SELECT email_address FROM employee";
$contacts = $db->query($sql);
while($contact = $db->fetchByAssoc($contacts))
{
if($contact['email_address']!="" && $contact['email_address']!=NULL)
{
$mem_email.=$contact['email_address'].", ";
}
}
header("Location: mailto:?bcc={$mem_email}");
我的问题是在bcc字段
中分离多个电子邮件的最佳分隔符是什么? ;
My question is what is the best separator to separate multiple emails in bcc field , or ; .
在我的情况下,我使用','。
In my case i am using ', '.
推荐答案
分隔符应为逗号(,
),不是空格。
The separator should be a comma (,
) and there should not be a space.
请参阅 RFC 6068 。
这篇关于分离多个电子邮件的最佳分隔符是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文