469,575 Members | 1,249 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,575 developers. It's quick & easy.

SMTPMail.Send Issue with Attachments

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
Apr 17 '07 #1
0 839

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Ohad | last post: by
8 posts views Thread by Jason | last post: by
9 posts views Thread by Kevin Spencer | last post: by
reply views Thread by Jason | last post: by
9 posts views Thread by Russell Stevens | last post: by
reply views Thread by suresh191 | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.