skip to Main Content

We have a web application which is using the php mail() function to send emails. Emails are received perfectly by all popular mail clients like gmail, yahoo, etc. but only outlook 365 not receiving any emails not even in Junk folder.

Amazon EC2, Ubuntu 14.04, Plesk 12, LAMP (Apache, MySQL and PHP)

We have checked email logs also but its not showing any errors. It looks like its sending email but its not received by Outlook 365 or they are blocking or something.

We have tried changing “rn” to “n” but its also not working.

We have tried by changing SPF records but its also not working. http://365.webbrewers.com/blog/Lists/Posts/Post.aspx?ID=44

We have been trying to find out a solution everywhere including Microsoft Community, Plesk (Odin) Community, PHP Community, Ubuntu Community, Amazon EC2 Community and didn’t find the work around.

2

Answers


  1. You could use https://www.mail-tester.com/ to “Test the Spammyness of your Emails”

    BTW I get a 10/10 but my emails still go to the “Junk Mail” folder in Office365 account, but at least are delivered.

    Login or Signup to reply.
  2. It’s probably related to the Office 365 spam filter. Check out these shortcomings of the PHP mail function – Why shouldn't I use PHP's mail() function?

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search