Delete File after adding as attachment

Delete File after adding as attachment

Post by kele » Fri, 05 Dec 2003 15:11:04



I have a message with attachments that I want to remove
the attachments into a temp folder perform validation and
then add the attachments back to the message send it on
and then delete the temp folder.

Everything works okay Except deleting the temporary
folder as the message holds a connection to the files in
the temp folder even after sending the message.

Is there any way of releasing the connection?