I'm sending html emails via phpmailer on my website. But, for some reason a few live/hotmail users are not receiving my emails.
Regarding my server logs, all the e-mails just send successful to the right email addresses. When I test with my own (old)hotmail address i'm receiving the emails just fine, but some users complaining they don't.
A test with a new outlook address is also not receiving any email from the website.
The script is sending all the emails with SMTP auth. Where do I have to look further?
My test script:
include("phpmailer/PHPMailerAutoload.php");
$mail = new PHPMailer();
$mail->IsHTML(false);
$mail->IsSMTP();
$mail->SMTPAuth = true; // enable SMTP authentication
$mail->Host = "mail.xxx.nl"; // sets the SMTP server
$mail->Username = "info@xxx.nl"; // SMTP account username
$mail->Password = "xxxxx"; // SMTP account password
$mail->From = "info@xxx.nl";
$mail->AddAddress('xxx@outlook.com');
$mail->AddReplyTo("info@xxx.nl");
$mail->FromName = "De website www.xxx.nl";
$mail->Subject = 'test';
$mail->Body = 'hallo';
$mail->AltBody = strip_tags('test hallo');
if(!$mail->Send())
{ $succes = false; echo "Mailer Error: " . $mail->ErrorInfo;} else { echo 'success';}