I just wrote this and realized its a 3 day old post but IM HITTING SEND
ANYWAY!!! heh

Usually setting the body content of my mail message to a variable then
calling it in the cfmail tags works well.
If I use the exact same formatting between the tags that I use when setting
the a variable...it doesn't look the same at all....
Seems that I remember it being much easier to format a cfmail message in CF
4.5.2..... or was that a dream??

here' s one i used recently, it made it through rather nicley...ofcourse
there was some form validation and some input filtering before it but here
it is.....hope it helps


<cfset msgtext = "
#Form.Email#

#Trim(Form.Fname)# #Trim(Form.Lname)#
#Trim(Form.address)#
#Trim(form.address2)#
#Trim(form.city)#, #Trim(form.state)#
#Trim(form.zip)#

#Trim(form.phone)#

REFERRAL: #form.referral#

SUBJECT: #subject#

USER'S MESAGE:

#Trim(Form.Message)#">

<cfmail to="#to#" from="" subject="#inquiry#">

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to