Page view counter
HomeLearnVideosHow Do I: Send Templated Emails for Health Monitoring Events in ASP.NET  

How Do I: Send Templated Emails for Health Monitoring Events in ASP.NET

In this video Chris Pels shows how to use the TemplatedEmailWebEventProvider to send emails when health monitoring events occur that utilize a template for the email content. First, see how to configure the <provider> and <rules> elements in the web.config file to implement the use of templated email and associate a health monitoring event with the templated email provider. Once the templated provider is configured see how to create the email template using as standard .aspx page. Learn what information is available in the MailEventNotificaitonInfo class that is passed by the TemplatedEmailWebEventProvider to the template .aspx page. See how it can be used to include whatever information is appropriate in the email content. Finally, view the test web site which sends emails in response to health monitoring events. Then view the actual emails received that contain the health monitoring event information based upon the template.

Presented by Chris Pels

Duration: 25 minutes, 13 seconds

Date: 18 September 2008

Watch the video   |   Download the video   |   Get VB code  or  C# code

Video downloads: WMV | Zune | iPod | PSP | MPEG-4 | 3GP

Audio downloads: AAC | WMA | MPEG-4 | MPEG-3 | MPEG-2

Comments : 3

Leave a Comment

abelanet : On September 19, 2008 6:58 AM said:

Good video. Sound has some trouble but better from the previous one.

jasbits : On September 20, 2008 9:15 AM said:

Thanks Chris!

Coulden't you do a video how to read the different messages from the provider in different senorios: Logged in atempts, error in pages and so on? Just a tought!

karls : On September 21, 2008 3:17 AM said:

This was a good video but it would have been nice to see an example of mapping to a particular type of event.

Leave a Comment

You must be logged in to leave a comment. Click here to log in.

Microsoft Communities