Thanks for the info Wil.  I did read your blog, and my original design was 
coded exactly the way you specified using 2 mail parts (text and HTML) and 
specifying the type as HTML in the cfmail tag itself as seen below.


<cfmail to="#Candidates.EmailAddress#" from="#SysSettings.Postmaster#"
        subject="#Expired#" 
        server="#SysSettings.MailServer#">
<CFMAILPART type="text">
Your Login ID: #Candidates.EmailAddress#
#Candidates.CandidateID#

#ExpiredContent.Text#
</CFMAILPART>

<CFMAILPART type="HTML">
#ExpiredContent.HTML#
<p>Your Login ID is #Candidates.EmailAddress#</p>
</CFMAILPART>
</cfmail>

I was noticing that the HTML part of the message was raising my SPAM score.  
Many of the messages we send are purely informational and do not require the 
niceties of HTML  display formatting so in an effort to reduce the SPAM score I 
simply removed the HTML part of the cfmailpart tag, leaving the text cfmailpart 
in place.  This is when my problem started.  It appears as though including a 
cfmailpart of type text without an HTML counterpart was causing the problem.  I 
am sad to say that the only fix I could find was to do something close to your 
example of the improper use of the cfmail tag.  If I simply include the mail 
message with no cfmailpart tags and do not specify type="HTML" in the cfmail 
tag my message is displayed correctly, or at least as I intended it to.

I do like your use of the textMessage function.  I may incorporate something 
like that in my system.  I will definitely help cut down on redundant coding.

Thanks,
Brian Cain 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:341468
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to