Are you viewing this in an email or outputting it to a web template?
savecontent should generate the line feeds for you and save the content the
way it was originally. If you are outputting to a template then you need to
wrap whatever in a <pre> tag.







Doug B.





----- Original Message ----- 
From: "Mark Leder" <[EMAIL PROTECTED]>
To: "CF-Talk" <[email protected]>
Sent: Saturday, January 27, 2007 3:10 PM
Subject: Line Breaks in Plain Text CFMail - GRRR!


> I just cannot get this to work. Sending plain text email, want to force a
> line break.  I've tried chr(10), chr(13), chr(13) & chr(10), with and
> without pound signs,  restarted CFMX7. The arguments are outputting
> correctly. What's the trick to this?
>
> <cfset carr = chr(13) & chr(10)>
>
> <cfprocessingdirective suppresswhitespace="yes">
> <cfsavecontent variable="VARIABLES.formFieldsCopy">
> <cfoutput>
> <cfif Len(ARGUMENTS.rsvpUserBadgeName)>Attendee Name Badge:
> #ARGUMENTS.rsvpUserBadgeName##carr#</cfif>
> <cfif Len(ARGUMENTS.rsvpGuest01Name)>Guest Name:
> #ARGUMENTS.rsvpGuest01Name##carr#</cfif>
> <cfif Len(ARGUMENTS.rsvpGuest01BadgeName)>Guest Name Badge:
> #ARGUMENTS.rsvpGuest01BadgeName#</cfif>
> </cfoutput>
> </cfsavecontent>
> </cfprocessingdirective>
>
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7 
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs 
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267865
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to