Reputation: 26993
I have a PHP code base that sends permitted, opt-in email to users. I was using the PHP mail() function but that was getting me into issues with spam. So a few months back I switched to SendGrid and am now using their API. I am now handling one of my more important emails (it is a hotel reservation site and this is the hotel confirmation email) instead of letting an affiliate partner do it and they are getting flagged as spam. Is there any kind of tool where I can copy/paste the source of the email and have it flag potential problems?
Upvotes: 5
Views: 435
Reputation: 413
The only tool I know of that will analyze an actual message and report any signs of spam potential is Delivery Doctor by MailChimp.
http://www.mailchimp.com/features/delivery-doctor/
You have to have a paid account with them to use it, though.
Some words set off spam alarms, here's a list of 100 of them:
http://blog.mannixmarketing.com/2009/08/spam-trigger-words/
Malformed html can do it, so can too many exclamation marks.
Upvotes: 2
Reputation: 19080
Limus may be of some use (this is not free but may have a free trial).
Ultimately spam filters will return either a score letting you know how "spammy" an email is (normally a decimal number) or nothing at all- if a spam filter was to reveal the exact reasons your email was failing to be sent, spammers would be able to tailor their email content much more effectively.
A few tips to get round the issue of your emails being flagged as "spam":
EDIT: ignore all the stuff about domains, just re-read the part about mail being sent from SendGrid.
Upvotes: 4
Reputation: 212402
You could always feed the e-mail through spamassassin before sending them, and examine the response from that to see why your mailings might be flagged as spam. See this blog post for some advice on how to access spamassassin from a PHP script, and the responses to this SO question for a couple of alternatives.
Upvotes: 3