According to the spam-test available at this link -- The automated, "Thank you for signing up" emails are going into the spam folder because :
SPAM: BODY: Message is 10% to 20% HTML obfuscation (-32)
However, I can't find anything that explains what that means -
I'm using SwiftMailer, and this is the relevant code that I use to set the headers / add the HTML part :
[...] $body_txt = strip_tags($body); $message = Swift_Message::newInstance();
$typeone = $message -> getHeaders() -> get('MIME-Version');
$typeone -> setValue('1.0');
$typetwo = $message -> getHeaders() -> get('Content-Type');
$typetwo -> setValue('text/html');
$typetwo -> setParameter('charset', 'utf-8');
$message -> setSubject($subject)
-> setFrom(array("courier@".TRIMMED_DOMAIN => HUMAN_READABLE_URL))
-> setTo($to)
-> setBody($body_txt)
-> addPart($body, 'text/html');
$transport = Swift_SmtpTransport::newInstance(TRIMMED_URL, 25)
-> setUsername("courier@".TRIMMMED_URL)
-> setPassword(MAILER_PASSWORD);
$mailer = Swift_Mailer::newInstance($transport);
$result = $mailer -> send($message);
And the email, itself, with lots of text omitted: (Perhaps we are using too much HTML?)
<!doctype html>
<html>
<head>
<title>Thank you for Joining [the website]</title>
</head>
<body>
<div>
<h1> Welcome!</h1>
<p>
Thank you for joining [our] community.
</p>
<h2>%s</h2><!-- this gets run through sprintf() and ultimately winds up being an <a> -->
%s
<p>
Our goal is to connect you [ blah, blah, blah ]
</p>
<ul>
<li>
[each of these contains a <strong> tag]
</li>
<li>[text omitted..]
</li>
<li>
</li>
<li>
</li>
<li>
</li>
</ul>
<p>
If you have any questions, comments, concerns, or suggestions,
feel free to send us a message on our Contact Page.
We sincerely appreciate your feedback.
Constructive input from our community members helps us continually improve the [ ] experience.
Thank you again for joining [our] community.
</p>
<p>
Sincerely,
</p>
<p>
<em>The [...] Team.</em>
</p>
</div>
</body>
</html>
So if anyone can give me any insight at all on what is triggering this HTML obfuscation
flag, then I would greatly appreciate it.
EDIT:
Also, I forgot to mention that viewing the email source shows a bunch of =09
's :
=09=09=09=09We sincerely ap=
preciate your feedback.
=09=09=09=09Constructive input from our commun=
ity members helps us continually improve the[]experience.=