email.class.php 发邮件类,如何发送密送邮件

WBOY
Release: 2016-06-13 10:16:56
Original
971 people have browsed it

email.class.php 发邮件类,怎么发送密送邮件
email.class.php 这个类想必PHP的朋友不陌生,现在我如果群发的话,收件人会出现很多个,
现在我想以密送的方式发送邮件,不知道怎么设置
这个是类得源码:
/* Main Function */
function sendmail($to, $from, $subject = "", $body = "", $mailtype, $cc = "", $bcc = "", $additional_headers = "")
我调用的时候:
$smtp->sendmail($smtpemailto, $smtpusermail, $mailsubject, $mailbody, $mailtype);
问题来了,我不知道,$bcc应该设置为什么值,他默认“”,我不知道应该设置为“bcc”还是直接就是true

找度娘也问了,但是其他人都不是用的这个类,在线静等牛儿的出现 。


------解决方案--------------------
$smtp->sendmail($to, $from, $subject = "标题", $body = "内容", $mailtype, $cc = "想要cc的人", $bcc = "想要bcc的人", $additional_headers = "这个我不清楚")

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template