I am trying to trigger error mail using log4net, after changes in config file, I am able to generate the mail from log4net. But I need to set the mail subject dynamically in C# or config based on environment and URL, any suggestions or idea ?
Guys, I need to know whether it is possible to set the mail subject of log4net mail in code behind .cs file, please comment on this ?