I’m playing around with the TemplatedMailWebEventProvider with the ASP.NET <healthMonitoring> feature.

One problem I noticed is that some of the extra info that I like to see, like ServerVariables, is not available anymore.

Fortunately, WebRequestDetailedErrorEvent written by James Newton-King comes to the rescue.