Mark Leder wrote: > 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 crlf = chr(13) & chr(10)> <cfset VARIABLES.formFieldsCopy = ""> <cfif Len(ARGUMENTS.rsvpUserBadgeName)> <cfset VARIABLES.formFieldsCopy = VARIABLES.formFieldsCopy & "Attendee Name Badge: " & ARGUMENTS.rsvpUserBadgeName & crlf> </cfif> <cfif Len(ARGUMENTS.rsvpGuest01Name)> <cfset VARIABLES.formFieldsCopy = VARIABLES.formFieldsCopy & "Guest Name: " & ARGUMENTS.rsvpGuest01Name & crlf> </cfif> <cfif Len(ARGUMENTS.rsvpGuest01BadgeName)> <cfset VARIABLES.formFieldsCopy = VARIABLES.formFieldsCopy & "Guest Name Badge: " & ARGUMENTS.rsvpGuest01BadgeName & crlf> </cfif> If you still have the problem, try another e-mail client. Outlook has the nasty habit of removing line breaks it thinks are unnecessary. Jochem ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:267891 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

