Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > SMTPMail.Send Issue with Attachments

Thread Tools

SMTPMail.Send Issue with Attachments

Posts: n/a
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?

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Differentiating file attachments from inline attachments in Exchange Peter Green Python 0 11-05-2009 04:13 PM
mail.Attachments (Multiple Attachments) from Querystring codewarrior ASP .Net 0 05-04-2009 07:19 PM
Major ActiveX Domain issue. NOT LOCAL PC ISSUE Computer Support 8 02-06-2006 09:03 PM
attachments unable to read attachments from email Computer Support 1 09-29-2004 02:29 AM
Thunderbird 0.5 doesn't forward attachments + little issue with news carreg3|j'aime pas le spam| Firefox 5 04-04-2004 12:59 PM