Remember that the content saved between the opening and closing cfmail tags is translated literally. So any carriage returns in the code itself will carry into the generated email. The same is true if you are using cfsavecontent to generate the text portion of the email.
See this post of mine for more detail http://www.trunkful.com/index.cfm/2010/5/27/How-to-CFMAIL-Properly-and-Keep-the-SPAM-in-the-Can Wil Genovese Sr. Web Application Developer/ Systems Administrator CF Webtools www.cfwebtools.com wilg...@trunkful.com www.trunkful.com On Feb 28, 2011, at 11:16 AM, Andrew Grosset wrote: > > try %0D%0A > > Andrew > >> Hi folks >> >> I am creating a text mail using cfmail >> >> I have a text variable "programSchedule" which is stored in mySQL as text: >> >> Monday: 9:00 am-5:30 pm Leadership Program begins. >> Tuesday: 9:00 am-5:30 pm. >> 7:00 pm-9:00 pm: Optional - An Introduction to Yes! >> Wednesday: 9:00 am-5:30 pm. >> Thursday: 9:00 am-5:30 pm. >> Friday: 9:00 am-12:00 noon Program concludes. >> >> I put the variable in the email body as: >> Here is the Weeks Schedule >> #programSchedule# >> >> more text follows >> >> the first three carriage returns in the schedule are recogized but then it >> all flows >> together. >> >> If I end each line with #chr(10)# >> I get double spacing >> >> I also get double spacing with #chr(13)# >> >> Any ideas on how to get it single spaced. >> >> Thanks >> >> rob >> Robert J. Voyle, Psy.D. >> Director, Clergy Leadership Institute >> For Coaching and Training in Appreciative Inquiry >> Author: Restoring Hope: Appreciative Strategies >> to Resolve Grief and Resentment >> http://www.appreciativeway.com/ >> 503-647-2378 or 503-647-2382 > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342608 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm