gpt4 book ai didi

PHPMailer、CC 和 Linux 服务器

转载 作者:太空狗 更新时间:2023-10-29 12:22:01 26 4
gpt4 key购买 nike

如何在 Linux 服务器上运行的 PHPMailer 中添加抄送邮件地址?

AddCC 方法仅适用于 Windows:http://phpmailer.worxware.com/index.php?pg=methods

我尝试过这种方法,但邮件从未到达...我也尝试过 $mail->addCustomHeader('CC: mymail@mail.com') 但没有成功。

谢谢。

最佳答案

当收件人已经存在时,我在使用 PHPMailer 时遇到了 addCC 问题。为了解决这个问题,由于共享服务器不允许,PHPMailer 中邮件功能的安全模式必须被删除。如果打开错误,您会发现问题出在哪里。

这里先回答,供引用。 PHPmailer multiple recipients error

关于PHPMailer、CC 和 Linux 服务器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2767983/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com