Page 1 of 1
HTML E-mail
Posted: Thu Jun 03, 2004 8:27 am
by wheelbarrow
Hi Phil,
Would it be possible to get ZM to generate html e-mails. this way i could the see the triger image in the message rather than as an attachement.
running zm1.19.2
Regards
Paul
Posted: Thu Jun 03, 2004 8:42 am
by zoneminder
Hi Paul,
At present I don't think there's a simple way but I'll add it to the ToDo list and try and get it in the next release.
Phil,
Posted: Tue Jul 13, 2004 7:54 am
by wheelbarrow
Hi Phil,
I've been looking into this and have managed to get sendmail to include html code in an e-mail.
basicly after the From: addrerss in the header you need "Mime-Version: 1.0" and "Content-Type: text/html"
you can then include html tags in the e-mail and assuming that the e-mail client can deal with html then that's it.
however. i have yet to look into updating your code. What is needed is a url for the alarm image rather than the path.
There is a problem i forsee with this option in that the server where the images are stored would need to be accesable by the e-mail client.
however i think that this would be a good feature to beable to turn on off for e-mailed alerts.
Many thanks for the continued development.
Regards
Paul
Posted: Tue Jul 13, 2004 8:54 am
by zoneminder
Hi,
Images can be included inline in HTML mails so access to the server itself is not a problem. PHP itself is a bit thin in terms of MIME mail support but I do have a class somewhere I've used before and that will be included when this feature gets addressed. Sumertime is just not a very good season for new features!
Phil,
Posted: Tue Jul 13, 2004 9:22 am
by wheelbarrow
Hi,
does this mean it's possible to do that now, or are you stilling to impliment it in a furture release.
Regards
Paul
Posted: Fri Sep 10, 2004 4:47 am
by ajpalm
Try turning on inline image viewing
I use Thuderbird for my email and it displays the pictures inline. Which all I do is scroll to the bottom of the email and there area the pictures.
Maybe change to a open source email package?
Posted: Mon Jul 14, 2008 1:40 am
by carteriii
I realize this is an old thread, but since I found it when looking for similar posts and assume others will also, I'm going to post a link to my solution.
http://www.zoneminder.com/forums/viewtopic.php?p=43600