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

c# - OpenXML hanging while writing elements -

php - regexp cyrillic filename not matches -

java - IntelliJ - No such instance method -