When we add the below line to web.config -
<add name="ErrorMail" type="Elmah.ErrorMailModule, Elmah" />
Elmah sends out emails on any exceptions that are occuring. But we want this to only happen with the live site that is deployed on the web server. And not when we are testing the site locally on our machines.Currently it is doing that and sending emails when we are testing the site locally. Does anyone know how we can configure it that way ?