Page 1 of 1

e-mails events notification: wrong subject and body

Posted: Wed Jan 27, 2021 9:21 pm
by melloa
Have my options > e-mail, set as follow:

opt_email: checked
email_subject: ZoneMinder: Alarm - %MN% - %EI%
email_body:

Hello,

An alarm has been detected at xyz Dr.

The details are as follows :-

Monitor : %MN%
Time : %ET%
.
.
.


e-mails are been generated with the default subject: ZoneMinder: Alarm - Door-3356 (51 - 29 44)

and

No changes in body:

Hello,

An alarm has been detected on your installation of the ZoneMinder.

The details are as follows :-

Monitor : Door
Event Id : 3356
Length : 14.02
Frames : 71 (44)
Scores : t1300 m51 a29

Any ideas?

Re: e-mails events notification: wrong subject and body

Posted: Wed Jan 27, 2021 10:57 pm
by melloa
Had just rebooted to test if that would "fix" and finished phpmyadmin install to pick inside the DB and saw e-mails are now coming with the right config:

Hello,

An alarm has been detected at XYZ Dr.

The details are as follows :-

Monitor : Door
Time : 2021-01-27 17:46:10
Event Id : 3459
Length : 9.40
Frames : 45 (6)
Scores : t97 m25 a16

Issue closed.

Just don't know why it took a reboot ...

Re: e-mails events notification: wrong subject and body

Posted: Thu Jan 28, 2021 9:20 pm
by burger
Typically a reboot isn't required in gnu linux world. That's a windows thing. Usually restarting mariadb is enough.

For reference, email docs are here:
https://wiki.zoneminder.com/Email
https://wiki.zoneminder.com/How_to_get_ ... Zoneminder

Try to enclose your email text in code boxes next time to make it easier to read.