I haven't seen this one mentioned anywhere in the huge number of ColdFusion 8/Scorpio posts that have been popping up lately. It's a relatively minor addition to the cfmail tag for setting message priority. In ColdFusion 6.x/7.x, if you wanted to set message priority, you needed to use a separate cfmailparam tag like so:


<cfmail
    from="me"
    to="you"
    subject="Q1 Numbers">

    
<cfmailparam name="priority" value="high">

I need you to take a look at this quarter's numbers ASAP!
</cfmail>    

In ColdFusion 8, the same email can be written like this:


<cfmail
    from="me"
    to="you"
    subject="Q1 Numbers"
    priority="high">

I need you to take a look at this quarter's numbers ASAP!
</cfmail>

The priority attribute is optional and can contain an integer (1-5 with 1 being the highest priority) or string value (highest|urgent, high, normal, low, and lowest|non-urgent).

This isn't huge, I know, but it's just one more way ColdFusion 8 makes even little things easier than ever before.

Comments (Comment Moderation is enabled. Your comment will not appear until approved.)
Ben Nadel's Gravatar Oh man! I didn't even know you could do that with CFMailParam!! Now you just taught me something about ColdFusion MX7 AND ColdFusion 8... thanks :)
# Posted By Ben Nadel | 6/13/07 6:13 AM
Charles Donovan's Gravatar Hi Rob,

Is it possible with Cold Fusion to set up a custom search option so that the visitor
can only search within a web site and is not sent "outside" the website?

Thanks,

Charlie
# Posted By Charles Donovan | 6/23/07 11:40 AM
Rob Brooks-Bilson's Gravatar Hi Charlie,

ColdFusion comes bundled (and integrated) with the Verity Search Engine. It's very easy to use it to index and search your ColdFusion site, without sending visitors outside of your site.
# Posted By Rob Brooks-Bilson | 6/26/07 9:01 PM



Copyright 1995-2008 Rob Brooks-Bilson. All rights reserved.
Aura skin for Raymond Camden's BlogCFC inspired by Joe Rinehart & Steven Erat. This blog is running version 5.9.004.