CFFILE Question

2013-10-23 Thread Steve LaBadie
I have a web-based form that requires the user to upload a document. Everything works fine until I try and delete the document after delivery. With the delete action enabled the email does not get delivered. I have place the action=delete inside and outside of the /cfmail cfif

RE: CFFILE Question

2013-10-23 Thread Robert Harrison
I've had this same issue before. I believe the file was being deleted before the mail was fully processed. I think the solution I came up with was to place the file in a temporary directory then run a batch program to delete the files from that directory in the nightly run. Robert Harrison

Re: CFFILE Question

2013-10-23 Thread Russ Michaels
what you have to remember is that the mail gets added to the spool, so it may not get sent for a while depending how big the queue is, so you cannot just delete an attachment right away otherwise you are deleting it immediately even before the mail has even sent. You should setup a scheduled task

Re: CFFILE Question

2013-10-23 Thread Brian Cain
Another alternative, if you are using CF 8 and above, is the content attribute of the cfmailparam tag. You can use this to attache the binary data itself as an attachment, that way you do not have to rely on a file existing on the server at the time the mail is sent. Read the file into a

Sort of OT

2013-10-23 Thread Ben Conner
Hi, Just curious on the makeup of the list participants...are we mainly employees of companies using CF or are there any hosting companies/ISPs in the group? --Ben -- Ben Conner b...@webworldinc.com Web World, Inc. 888-206-6486 or PO Box 1122 480-704-2000