It's deffinatley a pain in the arse!!
if you hit enter twice whne formatting your message, it'll usually keep the
break. like....

texxt text text

more text

but just once and it runs it all together like it wasnt there.

I usually set the body of my message to a variable first like so

<cfset msg = "
Name:    #form.fname#
Email:     #form.email#
Subject:  #form.subject#

Message:
#form.message#">

then call it between the cfmail tags and it keeps the formatting in place.

good luck

----- Original Message -----
From: "Barney Boisvert" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, February 03, 2003 11:53 AM
Subject: RE: Whitespace Management and CFMAIL


> It's probably not desired behavior, but it is the way it works.  You
should
> be able to turn it off with CFPROCESSINGDIRECTIVE though.
>
> > -----Original Message-----
> > From: Joshua Miller [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, February 03, 2003 8:39 AM
> > To: CF-Talk
> > Subject: Whitespace Management and CFMAIL
> >
> >
> > Does anyone know if Whitespace Management is SUPPOSED to delete all the
> > carriage returns in CFMAIL? Seems like that wouldn't be desired
> > behaviour if you've got formatted email. Is there a way to override this
> > for CFMAIL or do I have to manually put #chr(10)##chr(13)# everywhere I
> > want a return with Whitespace Management in place?
> >
> > Thanks
> >
> > Joshua Miller
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003
>
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

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

Reply via email to