Saturday 30 November 2019

amazon ec2 - E-mail sent through PHP Mail() not received by Microsoft Outlook 365 Only

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 "\r\n" 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.

No comments:

Post a Comment

php - file_get_contents shows unexpected output while reading a file

I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print &q...