Mark,

You could do a couple things here.  If you just want var1 and var2 on
separate lines, you could just do this:

<cfmail ...params...>
You ordered the following products from our catalog:

#var1#
#var2#
</cfmail>

By doing this, they will appear on separate lines (non-HTML).
Additionally, you could try this:

<cfmail ...params...>
You ordered the following products from our catalog:

#var1##chr(13)##var2##chr(13)#
</cfmail>

The "#chr(13)#" will translate into a carriage return when outputted by
ColdFusion.

Hope this helps,
Tyson

-----Original Message-----
From: Mark Leder [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 09, 2001 8:42 AM
To: CF-Talk
Subject: CFMail output formatting


In the printed output which gets sent to someone (not using HTML
formatting), how do you force carriage-returns?
For example, var1 and var2 want to run together, without being separated
by
a space:

#var1#

#var2#

</cfmail>

Thanks,
Mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to