So how do I get rid of the extra lines where CFIF statements are bypassed in
the code?  The savecontent var that I'm building has about 35 cfif
statements. 

-----Original Message-----
From: Dave Phillips [mailto:[EMAIL PROTECTED] 
Sent: Saturday, January 27, 2007 5:15 PM
To: CF-Talk
Subject: RE: Line Breaks in Plain Text CFMail - GRRR!

Remove your 'supresswhitespace' tag.  That supresses carriage returns if I
remember correctly.

Dave

-----Original Message-----
From: Mark Leder [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 27, 2007 4:10 PM
To: CF-Talk
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:267864
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