I have function where a user uploads an HTML file. This gets saved on server as a .txt file.
User then requests this file to be mailed to a mailing list. I do <cffile action="READ" file="#fileDirectoryAndName" variable="FileContents"> Then I send out the file with <cfmail to=" <mailto:[EMAIL PROTECTED]> abc <mailto:[EMAIL PROTECTED]> @abc.com" from= <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] subject="TEST NEWSLETTER" server="enterpriseenergy.com" type="HTML">#FileContents#</cfmail> When I receive email the file has lines that are garbled. I tried to open this file in CF5 Studio. It gives me a warning about "double spaced Unix Style text lines" If I look at this file in hex it has CRLR [space] [space] The file was created in Dreamweaver on a MAC running 9.5 ( my customer's computer ) If I output this file after it is read in <cfoutput>#FileContents#</cfoutput> it works in the browser. Hope someone can help, we are supposed to send out his news letter today. So far he is being patient!!! Thanks...... Bartee Lamar www.enterpriseenergy.com <http://www.enterpriseenergy.com/> MSN <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] ______________________________________________________________________ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists