Hi Seamus, you shouldn't need to worry about the residual file - cfmail should encode the file into the mail item sent to the spooler, so as soon as cfmail has completed, the attachment files can be safely removed.
to see what i mean, watch the cfmail spool location and grab the file before the mailer sends it. you will see that the attachment is encoded into the message body. cheers, Mike. ----- Original Message ----- From: "Seamus Campbell" <[EMAIL PROTECTED]> To: "CFAussie Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, May 18, 2004 6:36 PM Subject: [cfaussie] [Reply To] RE: cfmail - how to tell when sent > yeah - thanks - I sort of thought about that but then wondered > how to tell if the mail had NOT been sent at all?? > I'm probably nit-picking but I just started worrying about it > > thanks > > Seamus > > ================ You wrote ================ > > >> > >> > >>Hi Seamus, > >> > >>> I've got a txt file that is generated on the fly, then sent > > with cfmail as an attachment. > >>> I then want to delete it (after I KNOW that it has been sent) > >> > >>We came across this problem recently. Instead of deleting the > files after > >>they were sent, we left them in a temp directory and set up a > scheduled task > >>to go through each night and delete all the emailed text files > that were > >>more than one hour old (it obviously doesn't need to be that > long, but it > >>was an easy comparison). > >> > >>Cheers, > >>K. > >> > >> > >>-- > >>Kay Smoljak > >>Senior Developer/QC Leader/Search Optimisation > >>PerthWeb Pty Ltd - http://www.perthweb.com.au/ > >>Ph: 08 9226 1366 - Fax: 08 9226 1375 > >> > >> > >>--- > >>You are currently subscribed to cfaussie as: [EMAIL PROTECTED] > >>To unsubscribe send a blank email to > [EMAIL PROTECTED] > >> > >>MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia > >>http://www.mxdu.com/ + 24-25 February, 2004 > >> > >> > >> > > > Seamus Campbell Boldacious WebDesign > http://www.boldacious.com ~~~~ [EMAIL PROTECTED] > ph 02 6297 4883 mob 0410 609 267 > > > > --- > You are currently subscribed to cfaussie as: [EMAIL PROTECTED] > To unsubscribe send a blank email to [EMAIL PROTECTED] > > MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia > http://www.mxdu.com/ + 24-25 February, 2004 > --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004
