I am a Cold Fusion programmer who is in desperate need of help. I have an
application which uses the <cfmail> tag to send a confirmation email. When I
send it from a Windows 2000/SMTP server or a Vircom VOP Mail server, the
message goes out and is received in full. When I send it from the IMail
server, it truncated the massage after the first line break (see below).
My code
<cfset sBody="">
<cfset sBody = sBody & "Client: #sClientName#" & chr(10) & chr(13)>
<cfset sBody = sBody & "User: #Session.sess_sName#" & chr(10) & chr(13)>
<cfmail to="#sTo#" from="#sFrom#" subject="#sSubject#">
#sBody#
</cfmail>
On the 2000 and VOP servers, the email is received as:
Client: X
User: Y
When sent from the IMail server, the email is received as:
Client: X
I'm thinking the IMail server doesn't like my line break (chr(10)) and
carriage return (chr(13)). How can I make it accept these (by the time the
Cold Fusion server resolves these and sends it to the server, they should be
normal line breaks I would think). Or what can I use in their place that all
3 servers will recognize as line breaks in a plain text email? Help!
Everyone who has their email on the IMail server is getting the truncated
version of the email regardless to which server it is sent from, so I need
this fixed asap!
Thanks in advance for any suggestions.
Jenn
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.
An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/