SMTPMail.Send Issue with Attachments

G

Guest

I am using .Net framework 1.1

I am trying to send the attachment with the mail, but if the mail server is
down then the exception is raised in SmtpMail.Send method. And the files are
attached to this file are locked. I run into "Process can not access....."
error if I try to update these log files.

Looks like .Net Framework 2.0 and later has fixed this using a dispose
method for MailMessage.
How can I take care of this in .Net 1.1?

Thanks,
Dinesh
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,733
Messages
2,569,440
Members
44,831
Latest member
HealthSmartketoReviews

Latest Threads

Top