e-mails events notification: wrong subject and body

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
melloa
Posts: 25
Joined: Tue Apr 05, 2016 12:54 am

e-mails events notification: wrong subject and body

Post 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?
melloa
Posts: 25
Joined: Tue Apr 05, 2016 12:54 am

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

Post 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 ...
User avatar
burger
Posts: 458
Joined: Mon May 11, 2020 4:32 pm

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

Post 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.
fastest way to test streams:
ffmpeg -i rtsp://<user>:<pass>@<ipaddress>:554/path ./output.mp4 (if terminal only)
ffplay rtsp://<user>:<pass>@<ipaddress>:554/path (gui)
find paths on ispydb or in zm hcl

If you are new to security software, read:
https://wiki.zoneminder.com/Dummies_Guide
Post Reply