SMTPMail.Send Issue with Attachments

Discussion in 'ASP .Net' started by =?Utf-8?B?ZGlub28=?=, Apr 17, 2007.

  1. 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
     
    =?Utf-8?B?ZGlub28=?=, Apr 17, 2007
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Leonard
    Replies:
    2
    Views:
    649
    Leonard
    Aug 20, 2003
  2. Leszek
    Replies:
    2
    Views:
    493
    Sherif ElMetainy
    Aug 26, 2003
  3. Nathan Sokalski
    Replies:
    3
    Views:
    1,963
    Larry Lard
    Nov 23, 2005
  4. codewarrior
    Replies:
    0
    Views:
    540
    codewarrior
    May 4, 2009
  5. Peter Green
    Replies:
    0
    Views:
    649
    Peter Green
    Nov 5, 2009
Loading...

Share This Page