Reputation: 191
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
Reputation: 1795
Please check your "AddReplyTo" and "SetFrom" email id was different or not??
Upvotes: 1