New Priority Attribute in CFMAIL
ColdFusion 4.5 introduced the child tag CFMAILPARAM allowing you to add mail headers to a message
<cfmail from="fromaddress" to="toaddress" subject="mail subject">
<cfmailparam name="priority" value="high" />
Body
</cfmail>
In ColdFusion 8 this has changed a little, above is still valid, but 'priority' is now an attribute in the CFMAIL tag. The values the priority attribute can accept has been extended to allow integer values 1-5, 1 being the highest priority.
<cfmail from="fromaddress" to="toaddress" subject="mail subject" priority="1">
Body
</cfmail>
I don't think there is any major advantage for the change other than it's much cleaner to read.
ColdFusion 8 also added useSSL, and useTLS attributes to CFMAIL


There are no comments for this entry.
[Add Comment] [Subscribe to Comments]