About SmtpMail.Send() method

Feb 5 2007 5:50 AM
Hi all,
   This is Hari,
             In my application I need to generate a report for different people and send it through mail as attachment, and my approach to this task is I will generate a report for single person ,And send it to his Mail ID and then I will delete the report and generates next person’s report and send it.
              To send the report I am using SMTP server. I am able to send the mails if all the mail ids are correct, if the mail id of a person is incorrect in between I am able to handle the exception but I am not able to delete the report of that person the error I am getting is "Internal system error. Access to the path.... is denied."Even I am not able to delete the file manually .How can I come out of this please help me.



----------------------
Thank
[email protected]

Answers (1)