[How Do I:] Configure Email Notification for Health Monitoring on an ASP.NET Web Site
by Chris Pels
In this video Chris Pels shows how to configure email notification for health monitoring in an ASP.NET web site. First, see how to configure the sending of email in an ASP.NET web site through the use of the <emailSettings> element in the web.config file. Next, learn how to add the SimpleMailWebEventProvider which sends emails for health monitoring events as a provider. Then see the standard health monitoring events that can be used with email notification by examining the machine level health monitoring configuration. After reviewing the available events see a rule implemented that maps the "All Events" to the email provider. Upon starting the web site several emails are then sent and examined when they are received in Outlook. Finally, some basic principles of which events might be mapped to the health monitoring email provider are discussed.