Asynchronously sending a System.Net.Mail.MailMessage in C#

2 posts, 0 answers
  1. Mostafa Anoosheh
    Mostafa Anoosheh avatar
    462 posts
    Member since:
    Nov 2005

    Posted 22 Oct 2009 Link to this post

    Hello,
    When sending an email in your ASP.NET application there are times when you do not want the user experience to slow just to wait for an email to be sent.  The code sample below is how to send a System.Net.Mail.MailMessage asynchronously so that the current thread can continue while a secondary thread sends the email.
    Read more at Asynchronously sending a System.Net.Mail.MailMessage in C#

    Best regards,
    Mostafa Anoosheh


  2. root scott
    root scott avatar
    3 posts
    Member since:
    Oct 2009

    Posted 27 Oct 2009 Link to this post

    hm.. interesting...
Back to Top