I am using SMTPClient to send e-mail with a textfile as an attachment
My Code is
System.Net.Mail.SmtpClient smtp = new System.Net.Mail.SmtpClient(sSmtp);
This works fine however I need to know when the mail is sent to be able to move the text file attachment with out getting the error that the file is being used by another process.
How can I do this?