asp.net - Configure Elmah email settings in code rather than config -


i'm setting elmah emails , don't want put email account credentials in web.config.

i'm deploying on azure , therefore credentials azure app settings in code on app startup.

is there way configure elmah emails declaratively in code rather using <errormail> tag?

the best way overriding sendmail method of elmah's errormailmodule, suggested atif aziz in this discussion on google groups.

i've given more details in this answer.


Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -