I am using the CDO library in order to create and send a mail with an attachment. After mail is sent, program deletes or moves the attachment file to another folder. My program works well (message is sent) except the following:
wrun32.exe keeps the attachment file locked and the program can't delete it or move it to another folder.
Although I am doing all the necessary DESTROY statements, the attachment file is actualy deleted or moved only when wrun32.exe terminates.
Is there any other way for creating and sending e-mail messages (except using an outlook object) ?