Vinayak Mahadevan
Vinayak Mahadevan

Reputation: 191

phpmailer: Reply using only “Reply To” address does not work

Am using phpmailer to automate mails in a webapp I am writing. Even after adding replyto it is adding both the from and replyto ids into the "Reply To" field and when the reply button is used to reply to the mail in the email client the from address is automatically added in the "To" address of the reply. I have tried using the solution as detailed in phpmailer: Reply using only "Reply To" address . But that is also not working. Any help will be greatly appreciated.

$mail->Password   = USER_PASSWORD;
        $mail->AddReplyTo("[email protected]","abc");
        $mail->SetFrom("$from","$fromname");
        $mail->Subject    = $subject;

Upvotes: 2

Views: 3972

Answers (1)

Apurv Chaudhary
Apurv Chaudhary

Reputation: 1795

Please check your "AddReplyTo" and "SetFrom" email id was different or not??

Upvotes: 1

Related Questions