Just surround your variable with #'s

subject="this is the subject : #variable#"

Being that the subject attribute is part if a CF tag the variable will
be evaluated by CF (assuming the variable exists of course).

-chris.alvarado
[ application developer ]
4 Guys Interactive, Inc.
http://www.4guys.com 

"We create websites that make you a hero."



-----Original Message-----
From: Clark, Aimee [mailto:[EMAIL PROTECTED]] 
Sent: Monday, December 09, 2002 9:59 AM
To: CF-Talk
Subject: Using cfoutput in Emails


I have used cfmail for quite some time, but I had a quick question. Is
it
possible to display parameters in the subject line? For instance if I
wanted
the subject line to be:

Departure-IS Notification: Bugs Bunny, PHX, 12/14/02

Now, the first part after notification is just something that I type,
but
everything after that would be like
<cfoutput>#QueryName.FieldName#</cfoutput>

Can I do this?

Thank you,

Aimee Clark 
Web Developer 
Stinson Morrison Hecker LLP 
816-691-3461 
[EMAIL PROTECTED] 




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Reply via email to