I Want To Send Html Emails From My Site, But Outlook Is Flagging Them As Spam
Solution 1:
It is not Outlook but the spam filter of livemail.co.uk that flags your message as spam.
And it tells you why:
3.0 FH_FROM_CASH From name has "cash"
Obviously cannot be fixed.
2.6HTML_IMAGE_ONLY_12BODY: HTML: imageswith800-1200bytesofwords
Either remove the image or increase the word count.
0.0HTML_MESSAGEBODY: HTMLincludedinmessage
No impact. No need to get fixed.
2.3MIME_HTML_ONLYBODY: Messageonlyhastext/htmlMIMEparts
You should always send multipart messages (containg a non-HTML version). Here is a tutorial.
1.0 MIME_HEADER_CTYPE_ONLY 'Content-Type' found without required MIME headers
Should get fixed by sending a proper multipart message.
1.7 HTML_MIME_NO_HTML_TAG HTML-only message, but there is no HTML tag
Add an <html> tag.
The larger the leading number (weight), the bigger the impact.
Depending on the spam filter's configuration, the following may decrease the weight:
Apply for an entry in a whitelist (e.g., dnswl.org).
Add Sender Policy Framework (SPF) records.
Use DomainKey Identified Mail (DKIM).
Solution 2:
You didn't set MIME type in your header - when sending html emails you must set it like this:
$headers.= 'MIME-Version: 1.0' . "\r\n";
Also make sure you set reply-to
header the same as from
header:
$headers.= 'Reply-To: info@cash-access.com' . "\r\n";
Solution 3:
Try this:
$headers = "From:".$from . "\r\n"; $headers .= "Reply-To: some@example.com" . "\r\n"; $headers .= "MIME-Version: 1.0\r\n"; $headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";
Solution 4:
Take a look at using SPF records in your DNS to verify your email server, this will make the email much more trusted than just looking at it's contents. Some servers (e.g. hotmail) will reject your email straight-up without it.
Solution 5:
If you're hosting your site on a shared server, then your email won't actually be coming from cash-access.com
, but instead from your host's email server, and will be signed as such. Outlook (and email providers, such as Gmail) see that the actual sender doesn't match the from
address. You need to update SPF records (you can do this via cPanel, if your host has it installed) to rectify the issue.
Post a Comment for "I Want To Send Html Emails From My Site, But Outlook Is Flagging Them As Spam"