Sending HTML to Gmail always lands in Spam

Posted by cartaysm on Pro Webmasters See other posts from Pro Webmasters or by cartaysm
Published on 2012-10-05T13:11:30Z Indexed on 2012/10/05 15:54 UTC
Read the original article Hit count: 366

Filed under:
|
|

I am having an issue with sending HTML emails to Gmail. I can send them to Yahoo, Hotmail, RR, AOL, etc. with no problem at all, but when I send them to Gmail I get kicked to spam.

I have checked my IP with a lot of different list to make sure it is not listed anywhere, which it is not.

spamhaus =  is not listed in the DBL
abuse.net = is not listed in the SBL
abuse.net = is not listed in the PBL
abuse.net = is not listed in the XBL
spamcop = not listed in bl.spamcop.net

host 24.172.204.xxx
xxx.204.172.24.in-addr.arpa domain name pointer xxxevents.com.


host xxxevents.com
xxxevents.com has address 24.172.204.xxx
xxxevents.com mail is handled by 10 mail.xxxevents.com.

I am just trying to send a very VERY basic HTML message (listed below). I use an Ubuntu server, swiftmailer, multipart/alternative (HTML & plain), SPF = pass, and I am going to setup DKIM today to see if that fixes it (but I doubt it will)...

For now I will only post the message I sent that gets kicked to spam and can provide any details needed.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>Triathlon</title></head>
<body>
<table cellpadding="0" cellspacing="0">
<tr>
<td>
<p>Thank you for attending our 4th annual Triathlon/Duathlon/5k at Hueston Woods State Park on August 12th.
This event is held annually to raise research funding for Crohn's Disease, Ulcerative Colitis, and Muscular Dystrophy diseases.</p>
</td>
</tr>
<tr>
<td>
                        <p>As you know the results and pictures have been posted on our home page at  since Sunday 8/13/2012. Now we also have updated our Facebook page with those photos and you can start tagging yourself or downloading the pictures now!
                        <br />
                        our page and tag yourself at
                        </p>
                        <p>
                        test test
                        </p>
                        <p>Race day events is professionally managed by Speedy-Feet</p>

</td>
</tr>
</table>
</body>
</html>

Just plain text works great, I thought maybe wording was messing me up but not the case... I am almost done install opendkim so I will be able to rule that out very soon.

Edit:

Okay installed opendkim and I am getting passing results so I sent the html I posted above it went through just fine. So now when I start to add a few more lines I am getting kicked back to spam again. Here is updated html code:

 `   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>Triathlon</title></head>
<body>
<table cellpadding="0" cellspacing="0">
<tr>
<td>
<center><a href='http://xxxevents.com' target="_blank">
                <font face="Verdana, Arial, Helvetica, sans-serif" color="#666666" size="2">
                <img src="http://xxxevents.com/marketemailimages/xxxlogo.png" alt="xxx It Events | Raising funds for Crohns, Colitis, and Muscular Dystrophy" border="0" />
                </font></a></center>
</td>
<tr>
<td>
<p>Thank you for attending our 4th annual Triathlon/Duathlon/5k at Hueston Woods State Park on August 12th.
This event is held annually to raise research funding for Crohn's Disease, Ulcerative Colitis, and Muscular Dystrophy diseases.</p>
</td>
</tr>
<tr>
<td>
                        <p>As you know the results and pictures have been posted on our home page at  since Sunday 8/13/2012. Now we also have updated our Facebook page with those photos and you can start tagging yourself or downloading the pictures now!
                        <br />
                        our page and tag yourself at
                        </p>
                        <p>
                        test test
                        </p>
                        <p>Race day events is professionally managed by Speedy-Feet</p>

</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top">
<div align="center" style="font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px;"><br />PO Box xxx
Maineville, OH 45039<br />
<a href="mailto:[email protected]">[email protected]</a> | <a href='http://xxxevents.com' target="_blank">xxxevents.com</a><br />
<br />  
</div>
</td>
</tr>
</table>

</body>
</html>`

© Pro Webmasters or respective owner

Related posts about gmail

Related posts about html