0

I have my site hosted on bluehost which sends out daily mails to customers (with cron jobs). All mails are working fine except outlook and hotmail. Customers are not getting emails on their outlook/hotmail accounts. I checked the code and it working properly, returning true with php mail function.

MX records on hosting are set to gmail, bluehost supports says its a code issue or I need to consult with google but when I send direct mail through gmail account customers are getting them.

I am not sure how to debug and resolve this issue. Can someone suggest me the ways to resolve this or the possible reason behind this.

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
Vikram
  • 3,171
  • 7
  • 37
  • 67

1 Answers1

0

I know this is a few months later, but maybe I can help. I fought with this for a while. It depends on the mailer you're using, and your code a bit so it would be best to post it here.

Overall though, outlook and hotmail have extremely high spam filters, so there's a list of things you need to consider.

First - I've heard third party mailers will get blacklisted or blocked pretty quickly (check their reviews), so check that the IP address hasn't been blacklisted. You can contact outlook to do this (good luck), or send yourself an e-mail, find your ip in the header of your e-mail, and check a blacklist checker online somewhere.

Second - As part of USA's CAN-SPAM Act of 2003, you need to provide some sort of unsubscribe link as well to be in the good books.

Third - If you are using phpMailer or something along those lines, you'll need to remove anything that looks like this:

$mail->AddReplyTo("youremail@domain.com");
$mail->From = "youremail@ domain.com";

Because that will get it marked as spam.

Fourth - If you end up trying to send your e-mails through your gmail instead, allow access to third party apps, then go here (https://accounts.google.com/b/0/DisplayUnlockCaptcha), it will show up in your hotmail just fine.

Be warned that if you test your hotmail too often with the same message, it'll get blocked again.

Hopefully this helps!

Brad
  • 159,648
  • 54
  • 349
  • 530
  • 1
    There's no issue using a Reply-To address for any domain (see also https://stackoverflow.com/q/29112817/362536), and you can/should set the From address for something where your server is a valid sender. – Brad Feb 18 '18 at 04:34
  • 1
    I did some testing with this later and you're right. I read it a few places, it helped for some reason, but then changing my mail records helped more. – The Interloper Feb 18 '18 at 04:36