的返回路徑有沒有辦法來改變使用的PHPMailer更改使用的PHPMailer
返回路徑我做了以下和沒有工作
$mail->AddCustomHeader('Return-path:[email protected]');
我用以下語句發送郵件
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";
}
我收到電子郵件,但返回路徑不變?
對,這很有效。這在內部設置了返回路徑。謝謝 – 2014-12-07 14:37:53