Instead of mimeattach="#fileToSend#" Set it to: mimeattach="c:\directory\#file.serverfile#"
Paul Giesenhagen QuillDesign http://www.quilldesign.com SiteDirector v2.0 - Commerce Builder ----- Original Message ----- From: "Douglas Brown" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Sunday, April 07, 2002 11:38 PM Subject: CFMAIL ? > I am trying to allow clients to attach files to the emails that they send me, > this is how I have it set-up like so and it sends ok but the attachment is > changes to a .tmp file. Any ideas what I am doing wrong here? > > Page 1 > > Form content type is multipart/form-data > > Page 2 > <CFFILE ACTION="upload" filefield="fileToSend" destination="C:\FB3TestSite\" > nameconflict="OVERWRITE"> > > <cfmail > to="#toWho#" > from="#fromWho#" > mimeattach="#fileToSend#"> > > > > > > "Success is a journey, not a destination!!" > > > > Doug Brown > > ______________________________________________________________________ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

