I am having terrible problems with sending emails via PHP to Hotmail and Yahoo. I am sending through PHPMailer which is supposed to make delivery more reliable. They keep ending up in the spam boxes.
It is software I am distributing so I have to make sure the emails will definitely send. I can’t rely on whitelisting IP addresses or anything like that.
When I send the emails as plain text they end up in the Hotmail inbox and Yahoo spam box. Then all I did was change to sending them as html and guess what, they go to the Hotmail spam box and Yahoo inbox.
These are the things I have concentrated on that I have heard could make a difference:
Focus on not using “spammy” words
Sender email address is the same domain the email is being sent from
I have just implemented SPF. If you look at the message source on Gmail you will see a line like this if the SPF check has passed:
Received-SPF: pass (google.com: domain of mail@mywebcards.net designates 75.126.167.105 as permitted sender) client-ip=75.126.167.105;
I have done SPF and quoted-printable but the problem still remains. There are no attachments either.
The body of the two emails is identical, but if it is sent as plain text it goes to the Hotmail spam box and Yahoo inbox. If it is sent as html it goes to the Hotmail inbox and Yahoo spam box.
I know they don’t give away their spam check algorithms for obvious reasons, but I really wish they would give you a clue as to what is triggering the message being labelled as spam.