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

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,810
Latest member
Kassie0918

Latest Threads

Top