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

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -