Simple email filter question
Simple email filter question
I am wanting to send an email when I force an alarm for a monitor. I have set it to match the "Monitor Name" is equal to the camera name and the "Cause" equal to "Alarm" with the "Email details of all matches" selected of course. I feel like my filter isn't right and that's causing no emails to go out. Can someone point me in the right direction? Wasn't sure where to find the values for "Cause" if that is what I am suppose to be using.
-
- Posts: 39
- Joined: Fri Jan 29, 2016 6:12 pm
Re: Simple email filter question
Try:fm3391 wrote: I have set it to match the "Monitor Name" is equal to the camera name and the "Cause" equal to "Alarm" with the "Email details of all matches" selected of course.
Monitor ID equals <integer>
Date/Time is equal or less than "now"
Make sure the camera is set to Modect mode. Force an alarm on the screen. Only new events will be mailed because old ones were marked "mailed" in the database if they in fact had been mailed before.
It would be nice by the way if someone gave us a hint how to unmark them from within mysql CLI sop they can be reused for email testing.
best regards
LinforPros
LinforPros
Re: Simple email filter question
Thanks! That seemed to work! I found a tutorial on setting up Postfix to send from Gmail that helped fill it some of the gaps i had in my config file.