teamcfadvance / BlogCFC5

BlogCFC is a ColdFusion blog.
http://www.blogcfc.com/index.cfm
31 stars 20 forks source link

Issue with email getting tagged as spam #2

Open boyzoid opened 12 years ago

boyzoid commented 12 years ago

From Ray Camden:

"apparently you get dinged for Spam if you send an html email and do not include an actualy html tag looking at mailEntry, i can confirm that first line is a h2"

cfjedimaster commented 12 years ago

Here is how I modified my version:

        &lt;cfsavecontent variable=&quot;theMessage&quot;&gt;<br/>          &lt;cfoutput&gt;<br/>&lt;html&gt;<br/>&lt;head&gt;&lt;/head&gt;<br/>&lt;body&gt;            <br/>&lt;h2&gt;#entry.title#&lt;/h2&gt;<br/>&lt;b&gt;URL:&lt;/b&gt; &lt;a href=&quot;#theLink#&quot;&gt;#theLink#&lt;/a&gt;&lt;br /&gt;<br/>&lt;b&gt;Author:&lt;/b&gt; #entry.name#&lt;br /&gt;<br/><br/>#renderedText#&lt;cfif len(entry.morebody)&gt;<br/>&lt;a href=&quot;#theLink#&quot;&gt;[Continued at Blog]&lt;/a&gt;&lt;/cfif&gt;<br/><br/>&lt;p&gt;<br/>You are receiving this email because you have subscribed to this blog.&lt;br /&gt;<br/>To unsubscribe, please go to this URL:<br/>&lt;a href=&quot;#rooturl#unsubscribe.cfm?email=#email#&amp;amp;token=#token#&quot;&gt;#rooturl#unsubscribe.cfm?email=#email#&amp;amp;token=#token#&lt;/a&gt;<br/>&lt;/p&gt;<br/>&lt;/body&gt;<br/>&lt;/html&gt;<br/>           &lt;/cfoutput&gt;<br/>          &lt;/cfsavecontent&gt;
cfjedimaster commented 12 years ago

Ugh, damn Github didn't escape my text????

boyzoid commented 12 years ago

It did in the email.

Scott Stroz

http://www.boyzoid.com

No trees were killed in the sending of this message, but a large number of electrons were terribly inconvenienced

On Mon, Feb 13, 2012 at 11:02 AM, Raymond Camden < reply@reply.github.com

wrote:

Ugh, damn Github didn't escape my text????


Reply to this email directly or view it on GitHub: https://github.com/boyzoid/BlogCFC5/issues/2#issuecomment-3942588

cfjedimaster commented 12 years ago

Ugh. Frak it. You can ask me later.