Logging and emailing errors RRS feed

  • Question

  • Hi


    I would like to be able to log as much info as possible about an error in my app and the critical ones to be emailed to me. Is there a pre-built library/control that would do that?


    Many Thanks



    Saturday, August 2, 2008 12:31 AM


  • For logging you have to do exception handling and then you can log the error where you want. To email critical ones you have to use System.Net.Mail Classes like SmtpClient and MailMessage.


    Saturday, August 2, 2008 2:41 PM