That sounds pretty great Ken. Could I get a copy of that from you?

"Success is a journey, not a destination!!"



Doug Brown
----- Original Message -----
From: "Ken Wilson" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, April 08, 2002 10:59 AM
Subject: RE: Deleting attachement after upload (cfmail)


> I've got an app that allows attaching up to 5 files to an email and then
> deletes them immediately after spooling the mail to disk, no second pages or
> cflocation involved...delete code comes immediately after the cfmail code.
> Perhaps I've just had lucky timing but so far there haven't been any
> problems with it so it *can* work.
>
> Ken
>
>
>
> -----Original Message-----
> From: Clint Tredway [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 08, 2002 1:01 PM
> To: CF-Talk
> Subject: RE: Deleting attachement after upload (cfmail)
>
>
> I believe that you will have to wait until the mail is actually sent before
> you delete the file.
> I would have a routine that ran a few minutes later that deleted the files.
>
> Thats my 2 cents...
>
> Clint
>
> -----Original Message-----
> From: Douglas Brown [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 08, 2002 11:55 AM
> To: CF-Talk
> Subject: Deleting attachement after upload (cfmail)
>
>
> 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
>
>
>
> 
______________________________________________________________________
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/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to