Notice: With the launch of Adobe Cookbooks, this site will no longer be accepting new entries or posting new content. Thanks to everyone who submitted content!

How can I send mail with ColdFusion that will not generate auto-reponsder (vacation) messages?

Use <cfmailparam name="Precedence" value="bulk"> or <cfmailparam name="Precedence" value="list"> after the <cfmail> tag and the email server is 'told' to avoid sending any vacation messages.

<cfmail
to = "recipient"
subject = "message subject"
from = "sender">


<cfmailparam name="Precedence" value="bulk">

</cfmail>


This question was written by Kamru Miah.
It was last updated on July 7, 2008 at 10:51:02 AM EDT.

CFML Referenced

<cfmail>

Categories

Comments

Comment made by Ben Nadel on July 7, 2008 at 11:26 AM
Wow, that is really cool. I had no idea.


Comment made by Bruce Schuman on July 7, 2008 at 8:30 PM
I second Ben Nadel's comment. I have sent a ton of cfmail over the years -- I will certainly check this out. Does setting the precedence level to "bulk" tend to triger spam filters?


Comment made by Joshua Curtiss on July 10, 2008 at 11:26 AM
That's what I'm wondering.. Beware potential unwanted side effects?