【发布时间】:2011-03-28 21:49:44
【问题描述】:
有没有办法使用 PHPMailer 更改返回路径
我做了以下,但没有用
$mail->AddCustomHeader('Return-path:test@email.co.za');
我正在使用以下语句发送邮件
if(!$mail->Send()) {
echo "Mailer Error: " . $mail->ErrorInfo;
} else {
//Building the reporting email to report on all the mails send
echo "Message REPORT sent!\n";
}
我收到了邮件但返回路径没有改变?
【问题讨论】: