Last post Apr 21, 2011 04:58 AM by rezaxp
Apr 21, 2011 04:47 AM|ambatisreedhar|LINK
I am using Enterprise Library 5.0 for logging and exception handling.
On getting critical exceptions I want to send a mail to the admin of the application.
But I am not seeing any Email Listener in Enterprise Library 5.0 editor.
Please help me where I am going wrong..
If possible provide me a sample.
Apr 21, 2011 04:58 AM|rezaxp|LINK
I think you have to write a custom handler for the enterprise library then you can check the type of exception and if it's critical you can send an email manually
http://blogs.microsoft.co.il/blogs/kolbis/archive/2007/08/07/Creating-a-custom-exception-handler.aspx to learn how to create custom exception handling with enterprise library rapidly