Hey thanks Benjamin!

That seems to have done the trick.  I develop on a G3 macintosh using mainly
BBEdit.  I use the Macintosh services on my NT development machine to view
things on.  I had never even thought of the differences between CR and LF on
the two but I have seen that happen before when moving files from a mac to a
unix machine.

Thanks a lot!

Derek

on 2/13/01 11:27 AM, the esteemed Benjamin S. Rogers at [EMAIL PROTECTED]
postulated:

> Macintosh uses carriage return (CR) ASCII characters to designate the start
> of a new line. Windows uses carriage return/line feed (LF) pairs. Unix, on
> the other hand, uses just LFs.
> 
> I say this because what you may be experiencing is a symptom from developing
> and deploying your application in a mixed environment. Without more
> information about what OS your development workstation, Web server and mail
> server are running, I can't explain exactly what is going on.
> 
> However, you could change your code to the following, and see if you don't
> get the expected results:
> 
> <cfoutput query="get_Record" group="email">
> <cfloop list="#strRecipients#" index="RecEmail">
> <cfmail from="#email#" to="#RecEmail#" subject="SITA Proposal:
> Downtownrail.org" BCC="#strBCCed#">
> #Chr(13)##Chr(10)#
> #text##Chr(13)##Chr(10)#
> #Chr(13)##Chr(10)#
> Sincerely,
> #namef# #namel##Chr(13)##Chr(10)#
> #address1##Chr(13)##Chr(10)#
> #address2##Chr(13)##Chr(10)#
> #city#, #st#  #zip##Chr(13)##Chr(10)#
> </cfmail>
> </cfloop>
> </cfoutput>
> 
> This will ensure that every line is terminated with a CR/LF pair, which
> should work in every environment. If this fixes your problem, then you may
> want to post some details about your development and production
> environments. Sometimes, correcting the issue is as simple as a checkbox in
> the IDE (i.e. use Unix style end of line characters as opposed to windows).
> 
> Benjamin S. Rogers
> Web Developer, c4.net
> Voice: (508) 240-0051
> Fax: (508) 240-0057
> 
> -----Original Message-----
> From: Derek Hamilton [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 13, 2001 1:41 PM
> To: CF-Server
> Subject: CFMail Formatting Issues
> 
> 
> Hello!
> 
> I've used <cfmail> several times without one error but now I have one that
> seems a little strange.
> 
> When I send an email, the formatting is not showing up.  I am sending it
> regular text, not HTML.  I realize that I could use the type=html to format
> it but because of the type of people that the email is being sent to this is
> not an option.
> 
> The code for sending the email is:
> 
> <cfoutput query="get_Record" group="email">
> <cfloop list="#strRecipients#" index="RecEmail">
> <cfmail from="#email#" to="#RecEmail#" subject="SITA Proposal:
> Downtownrail.org" BCC="#strBCCed#">
> 
> #text#
> 
> Sincerely,
> #namef# #namel#
> #address1#
> #address2#
> #city#, #st#  #zip#
> </cfmail>
> </cfloop>
> </cfoutput>
> 
> I use the loop to loop through a list of recipients.  Is there something
> strange about what I'm doing?
> 
> This is the output in Entourage (mac version of outlook):
> 
> This is the first letter
> that will be used to say that I support this proposal.
>     Sincerely,
>     Hamilton Here Ste 220 Sacramento, CA 95814
> 
> Any help would be appreciated!
> 
> Derek Hamilton
> Systems Developer
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To unsubscribe, send a message to [EMAIL PROTECTED] with 
'unsubscribe' in the body or visit the list page at www.houseoffusion.com

Reply via email to