Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cfmail read treated as spam???

Status
Not open for further replies.

peter11

Instructor
Mar 16, 2001
334
US
Here is the code I am using so my cfmail will not be blocked or put in the spam folders but Hotmail and a few others still do not like it. Any suggestions are appreciated.

Code:
<CFMAIL  
					TO = "#form.Email#" 
					FROM =  '"teacherconf@my.com" <teacherconf@my.com>'
					SUBJECT="Parent Teacher Conference" 
					mailerid="Microsoft Outlook, Build 10.0.3416"
					server="10.1.1.21"
					TYPE="HTML">
              			
				  	<cfmailparam name="X-Priority" value="3"/>
					<cfmailparam name="X-MSMail-Priority" value="High"/>
					<cfmailparam name="X-Mailer" value="my.com"/>
					<cfmailparam name="Message-id" value="#createUUID()#@my.com"/>
					<cfmailparam name="Reply-To" value="teacherconf@my.com"/>
					<cfmailparam name="MIME-Version" value="1.0"> 


         Dear #form.sfirst# #form.slast#, <br>
      Thank you for registering for parent/teacher conferences.<br>
Your password is<strong> #pwd#</strong>.<BR><br>
      </CFMAIL>
 
Code:
TYPE="HTML">

Get rid of the HTML, you have absolutely no need for it. You should only use HTML when you need to format the layout of the e-mail.

Hope this helps

Wullie

YetiHost - Quality Coldfusion 7/Windows Hosting

The pessimist complains about the wind. The optimist expects it to change. The leader adjusts the sails. - John Maxwell
 
also make sure your domain is not blacklisted at hotmail and that it has an SPF record.

Regards
--
Russ Michaels
CFDeveloper.co.uk
ColdFusion Developer community and FREE developer hosting

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top