PHP电子邮件发送密件抄送

PHP电子邮件发送密件抄送,第1张

PHP电子邮件发送密件抄送

$headers .= '...';
紧随其后
$headers = '...';
;第二行覆盖第一行。

只要在行

$headers .= "Bcc: $emailListrn";
后加上发言权
Content-type
,就可以了。

附带说明,

To
通常是必需的;邮件服务器可能会将您的邮件标记为垃圾邮件。

$headers  = "From: [email protected]" .  "X-Mailer: phprn";$headers .= "MIME-Version: 1.0rn";$headers .= "Content-Type: text/html; charset=ISO-8859-1rn";$headers .= "Bcc: $emailListrn";


欢迎分享,转载请注明来源:内存溢出

原文地址: https://www.outofmemory.cn/zaji/5122245.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-11-17
下一篇 2022-11-17

发表评论

登录后才能评论

评论列表(0条)

保存