Not sure I am following you here...
the attached file isn't getting deleted. I can go to the directory and pull the file and it opens and exists. The file names never change just the info, the documents get updated with new data when a job is ran but the name never changes.
When I simply add the the the semi-colon between each of the file attributes and make it one line the file sends with the attachment and no errors. It doesn't update a file more than once during a run either....
Main Topics
Browse All Topics





by: srikanthmadishettiPosted on 2009-02-09 at 09:54:23ID: 23592426
This is important to understand when we are attaching files to emails. If we try to delete a file attachment after sending out the CFMail, chances are the mail will never get sent. The problem here is that the file doesn't actually get attached until the mail gets sent by the mail server. Therefore, if we delete a file after attaching it, we are likely deleting the file while the mail is still in the spool. Then, when the mail server goes to send out the email, it can't find the file attachment and the outgoing mail will fail.