Email Test
-
- Posts: 4
- Joined: Fri Jan 05, 2007 3:58 pm
- Location: Midlands, United Kingdom
Email Test
Once you have configured all of the email settings and a filter, would it be possible to have a test email function to check that all of the smtp settings etc are working ok?
You can do this now with what you have somewhat.
Create your filter (make sure you put a time constraint on it, If you don't you'll soon see why) the way you want it.
Select email.
Save the filter but don't select run in background just yet.
Now select your filter and click submit, you should get a list of any events that would get emailed to you (If you didn't put a time constrant this list may be long, and all of them would be emailed to you.... one at a time). Now hopefully you have the results you want, you may have to create an event so you have results.
Now you can click on the execute button. You should get your email if everything is properly setup. If not check your logs and make sure you have patched ZM so that the execute button really functions.
Create your filter (make sure you put a time constraint on it, If you don't you'll soon see why) the way you want it.
Select email.
Save the filter but don't select run in background just yet.
Now select your filter and click submit, you should get a list of any events that would get emailed to you (If you didn't put a time constrant this list may be long, and all of them would be emailed to you.... one at a time). Now hopefully you have the results you want, you may have to create an event so you have results.
Now you can click on the execute button. You should get your email if everything is properly setup. If not check your logs and make sure you have patched ZM so that the execute button really functions.
- Sir Veillance
- Posts: 11
- Joined: Tue Nov 13, 2007 3:44 am
- Location: Germany
It seems like ZM only executes the filter if the corresponding flag has not been set yet, like Events.Emailed. If this flag is =1, then ZM won't send this event.
Is there a built-in procedure to reset these flags? At the moment, I have to edit the mysql table and set the flag=0 manually. Quite annoying, when you have to do it 50 times
Is there a built-in procedure to reset these flags? At the moment, I have to edit the mysql table and set the flag=0 manually. Quite annoying, when you have to do it 50 times
Martin from Germany
- Sir Veillance
- Posts: 11
- Joined: Tue Nov 13, 2007 3:44 am
- Location: Germany
- Sir Veillance
- Posts: 11
- Joined: Tue Nov 13, 2007 3:44 am
- Location: Germany
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
I recommend Navicat, http://www.navicat.com/. It's not free (though I think there may be a free version) but you can just select a table, click on what you want to change and bingo your done. Likewise you can save queries to rerun later. I only started using it a few months ago but it's extremely handy.
Phpmyadmin is good also, just not quite so slick and takes a bit more setting up.
Phpmyadmin is good also, just not quite so slick and takes a bit more setting up.
Phil