Search found 8 matches

by richbl
Sat Nov 08, 2008 7:22 am
Forum: User Contributions
Topic: send html email w/inline images
Replies: 22
Views: 51272

For completeness, I'm posting the entirety of my modified SendEmail() function call discussed in this thread (originally posted by carteriii). I managed to destroy a drive repartition (power-outage at exactly the wrong moment), and lost my original rewrite from this thread. So... best that I ...
by richbl
Sat Nov 08, 2008 7:13 am
Forum: User Contributions
Topic: send html email w/inline images
Replies: 22
Views: 51272

OK, now it makes more sense. Thank you. I'm now getting email successfully. However, the image tag is blank. You mention the need for Ahhh... that was the missing item, the requirement for %EI1%, %EIM%, (or presumably %EIV%). Where do those tags go? Sorry for the late response (I thought I had ...
by richbl
Tue Sep 09, 2008 5:25 pm
Forum: User Contributions
Topic: send html email w/inline images
Replies: 22
Views: 51272

Sorry for the dumb question, but I have searched everywhere and I just can't find a simple example on how to setup a filter to email me when a motion event occurs. I have Mocord setup and I'm seeing the events. I also created a simple perl script to test the email sending function and it works. The ...
by richbl
Mon Aug 04, 2008 2:44 pm
Forum: ZoneMinder Previous Versions
Topic: Starting/Stopping ZM from a script
Replies: 2
Views: 2031

cordel wrote:Using the run states might serve you better.

http://www.zoneminder.com/forums/viewtopic.php?p=13102
Excellent. I just learned something new!

Works like a charm.

Thanks much.
by richbl
Mon Aug 04, 2008 3:09 am
Forum: ZoneMinder Previous Versions
Topic: Starting/Stopping ZM from a script
Replies: 2
Views: 2031

Starting/Stopping ZM from a script

Hello all, I'm getting up to speed with ZM, and so far, I have managed the following: --Logitech WebCam (QuickCam Communicate STX) up and running using mjpg_streamer --Linksys IPCam (WVC54GCA) --Image delivery via email on motion detect (see thread at http://www.zoneminder.com/forums/viewtopic.php?t ...
by richbl
Mon Aug 04, 2008 1:29 am
Forum: User Contributions
Topic: send html email w/inline images
Replies: 22
Views: 51272

I've discovered a few more issues for anyone interested in pursuing this strategy of including images in an email notification: A) The MIME content type should be changes from "multipart/mixed" to "multipart/alternative." Otherwise, the current codebase will generate two sets of messages, one plain ...
by richbl
Sun Aug 03, 2008 6:07 pm
Forum: User Contributions
Topic: send html email w/inline images
Replies: 22
Views: 51272

Ahhh... that was the missing item, the requirement for %EI1%, %EIM%, (or presumably %EIV%). Seems to work just fine now. Also, regarding your comment on using SMTP authentication as a default, while I agree this is useful, the final implementation needs be optional. In my case--and likely the case ...
by richbl
Sun Aug 03, 2008 4:49 am
Forum: User Contributions
Topic: send html email w/inline images
Replies: 22
Views: 51272

Interesting idea. For those who want to implement this correctly, the code that's mentioned here replaces the code found in function SendEmail() of file zmfilter.pl (found in /usr/bin). Also, two questions for the author: --You iterate through attachments, but I'm unclear as to what attachments you ...