I’ve been trying lots of tests to try and figure out why some e-mails generated by PHP mail() are going to junk in outlook.
I finally found out it was only when images from my domain were included, if the e-mail had a link to an image on another domain it works fine.
I’m pretty sure the domain is blacklisted so don’t understand why only images on my domain are being a problem.
If you host the image on another domain I bet the image would be flagged as junk as well. Most filters don’t look at where the image is located, but simply that an image exists. The filters I’ve seen actually look at the images vs text ratio, so you may be able to get the email into the email by putting osme additional content in the email.
I know for certain it’s the domain, the e-mail does have other text in as well.
The test I did to prove this was get an image from and e-mail that wasn’t being blocked put that in my e-mail, which worked, then upload that image to my own server and then just changed the domain from the original site to my server, that change stopped the e-mail getting through.
So <img src=“http://www.site.com/image.gif” width=“90” height=“90” alt=“”>
worked and <img src=“http://www.mysite.com/image.gif” width=“90” height=“90” alt=“”> didn’t.