Closed danielklecha closed 6 months ago
+1
I'm having a similar issue with periodic batching. I'm running some code on an hourly schedule. Error and warning messages should batch and be sent out as one email. It was working at first, batching up the messages in one email, and now it is sending out two emails -- one with each event, even though the events are < 30 seconds apart. When I changed the period to 5 minutes, it sends out two emails 5 minutes apart with log events that occurred seconds apart.
Closing this one as stale; I think the batching functionality in this sink is too rudimentary to provide this level of control, currently. Cheers!
Hi, I created console application with attached code and used smtp4dev as server. App should send single email but when console sink is attached then I get two emails - with 2 logs and with next 4 logs. When I comment console sink then I get single email. What is wrong? Is it a bug?