OK, so I figured out the offending variable is a long one, after which NONE of the carriage returns work. Any ideas why?
Lines in emails should not be longer than approx 1000 chars according to the RFCs and also email clients can wrap lines at just under 80 chars so I suspect you are seeing something as a result of that.....
Kym
Chad
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chad Sent: Tuesday, 1 March 2005 1:02 PM To: CFAussie Mailing List Subject: [cfaussie] Chr(13) & Chr(10)
Anyone know what would cause Chr(13) & Chr(10) not to show in a text email?
I use cfset to create a string that is used in a text email via cfmail, like so.
<cfset MyString = "Some Text: " & Variable & Chr(13) & Chr(10) & "Some
Other Text: " & Variable2> (and so on for about 10 Variables)
<cfmail>
#MyString#
</cfmail>
Problem is, the Chr(13) & Chr(10) works OK, but then after a certain variable, none of the breaks work. I removed the offending variable, and it worked for the next few then stopped again. I am having difficulty identifying exactly what it is inherent to the variable that stops it from working. No special characters ort anything that I can see in the string.
Any ideas?
Chad
--- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
--- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
--- You are currently subscribed to cfaussie as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
