C
Claire
Hi
I copy my application log file to the temp directory and send this using a
System.Net.Mail.SmtpClient as an attachment.
I need to delete this file afterwards but I'm getting an error that the file
is in use. I assume that smtpclient is sending the email asynchronously, and
that's why I get the error, but I'm not sure.
What do i do to delete this file please?
thank you
I copy my application log file to the temp directory and send this using a
System.Net.Mail.SmtpClient as an attachment.
I need to delete this file afterwards but I'm getting an error that the file
is in use. I assume that smtpclient is sending the email asynchronously, and
that's why I get the error, but I'm not sure.
What do i do to delete this file please?
thank you