Problem sending mail from Event Viewer
Last Post 03/23/2010 7:47 AM by Abhishek Trivedi. 0 Replies.
Author Messages
Abhishek Trivedi
Nuke Active Member
Nuke Active Member
Posts:30


--
03/23/2010 7:47 AM  

Hi,

     I have problem regarding Sending mail from event viewer for exception.

I have enabled the Email Notification from the Event Viewer --> Edit Log Settings for the MODULE_LOAD_EXCEPTION event.

Also have set the Occurence Threshold to 1 Occurence in 1 seconds.

Added correct email addresses in from and to textboxes.

Then i have enabled DottNetNuke.Services.Log.EventLog.SendLogNotifications to run after every 5 minutes, what it did is it send me the exception occur first time but since then it has not send me any mail althogh i have generated so many ModuleLoadException in between.

Some where in google i read that some where in code we can set the Occurence threshold to 0(zero) to resolve this issue, but i dont know much about it where i can do that so cant test that.

Please provide me your suggestion, or let me know if there is any other alternative to send mail to any account on exception occur.

For information i am using DNN Ver. 5.1.

Looking for good response.

Thanks,
Abhishek Trivedi



---