I am attaching files for cfmail and uploading the files to the server for the attachment process. What I want to do is delete the uploaded file after the attachment sends. Is this possible? I have tried using <cffile action="delete" file="C:\mail_uploads\#file.serverfile#"> after the </cfmail> tag, but then I get an error trying to send the attachment because it does not exist. I dont want to clutter the server with files that really does not need saved. Any solutions would be of great help.
"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

