Has anyone else had problems with carriage returns disappearing in
cfmail?  I would have thought this would be fixed by now (CFMX 6.1).

Sometimes I'll have something like this:

<cfmail to="#user#" from"[EMAIL PROTECTED]" subject="Thanks">
Thanks for registering.  Here are your details:
Name: #name#
Address: #address#
City: #city#
</cfmail>

But the resulting email ends up like this:

Thanks for registering.  Here are your details:
Name: Ryan Stille Address: 515 8th St
City: Dallas

I've ran the file through od (octal dump) and verified that there is
indeed a \r\n between the Name and Address lines.  When we wrote an app
a few years ago (in CF 5) that did a lot of emailing, I finally ended up
putting in #Chr(10)##Chr(13)# in a few places to force some reluctant
carriage returns to show up!

-Ryan


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get the mailserver that powers this list at 
http://www.houseoffusion.com/banners/view.cfm?bannerid=17

Message: http://www.houseoffusion.com/lists.cfm/link=i:14:3921
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/14
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:14
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.14
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to