I am setting up Elmah emails and I do not want to provide email credentials in web.config.
I am deploying to Azure and therefore would like to find the credentials from the settings of the Azure application in the code when the application starts.
Is there a way to set up Elmah email declaratively in code, rather than using the <errorMail> tag?
source
share