Clear Email Cache

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
fish2222
Posts: 34
Joined: Sun Apr 07, 2019 6:20 pm

Clear Email Cache

Post by fish2222 »

So, I had a few issues with SMTP when Google made changes to their settings. Anyway, I finally got that fixed, and now I get around 500 emails from the past few weeks, then have to wait 24 hours to get the next 500. Is there anyway to clear the queue for this so I won't have to wait to get the new alerts?
jogo
Posts: 46
Joined: Thu Aug 03, 2017 3:00 pm

Re: Clear Email Cache

Post by jogo »

The mysql table "Events" has a column "Emailed" so you could set the values to 1.
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: Clear Email Cache

Post by Magic919 »

Where do you think they are queued?
-
jogo
Posts: 46
Joined: Thu Aug 03, 2017 3:00 pm

Re: Clear Email Cache

Post by jogo »

There might not be a queue and they are generated on the fly. At least I didn't find a place for email messages in the /va/lib/zoneminder directory.
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: Clear Email Cache

Post by Magic919 »

ZM doesn't queue. What's your SMTP setup?
-
Post Reply