I am looking for a way to limit SmtpAppender to limit number of emails sent in case of same error is occurred multiple times in a defined time span.
I don't know if it is even possible, any help will be appreciated
From stackoverflow
-
You could always extend
SmtpAppenderto implement the functionality you need. -
I understand, but it will be great if you can shed some light on how this can be achieved.
-
I have not tried this extended SMTP appender, but it seems to be be what you need.
0 comments:
Post a Comment