Reputation: 8982
I'm using PHP mail and I have the following headers:
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8; format=flowed;
Content-Transfer-Encoding: 8Bit
X-Mailer: Pressflow
Errors-To: [email protected]
Return-Path: [email protected]
Sender: [email protected]
From: Some Email <[email protected]>
X-SMTPAPI: {"category":"key:some_key"}
Where [email protected] is a legitimate email, but I wouldn't disclose it here...
Is there a way to modify this header such that my mail wouldn't get sent to the spam folder in Outlook?
Upvotes: 0
Views: 246
Reputation: 63442
Look into SPF and DKIM. For an easier alternative, try email delivery services such as Mad Mimi or MailChimp.
Upvotes: 1
Reputation: 13361
Headers aren't the only things checked by spam filters. They also check the body, otherwise, they would be pretty useless.
There are plenty of tools and articles available which will help you narrow down why your mail looks like spam.
For issues with the body text, you can use an online tool like this one
Also this has been asked so many times before, a simple search of php mail spam
would have given you this question, which has not only helpful information, but a load of related questions in the comments.
Upvotes: 0