Tuesday, June 4, 2019

header - Php Mailer problem - messages marked as spam -

A few days ago I upgraded Php Mailer and now some email providers my messages mark as spam. This is what I see in the headers of the marked messages:



X-SpamTest-Info: {TO: header missing}


This is from my php file.




$mail->From       = $sender;
$mail->FromName = $sender_name;
$mail->Subject = $subject;
$mail->Body = $body;
$mail->AddAddress($recipient,$recipient_name);
$mail->AddReplyTo($replyto,"No-Reply");


Dont know how to add "to" header and can't understand how it's possible that "to" is missing but email arrives to the correct "to" address...

No comments:

Post a Comment

plot explanation - Why did Peaches' mom hang on the tree? - Movies & TV

In the middle of the movie Ice Age: Continental Drift Peaches' mom asked Peaches to go to sleep. Then, she hung on the tree. This parti...