I'm setting up Elmah emails and I don't want to put my email account credentials in web.config.
I'm deploying on Azure and therefore would like to look up the credentials from Azure app settings in code on app startup.
Is there a way to configure Elmah emails declaratively in code rather than using the <errorMail> tag?