Page 1 of 1

Send MultiMail to Multiusers

Posted: Wed Apr 27, 2011 6:09 pm
by NunoM
I have one cam for user.
I wonder if there is a possibility of emailing a specific user.
That is, each user would have an email and when an event was created only the particular user will receive the mail.
Thanks

Re: Send MultiMail to Multiusers

Posted: Thu Apr 28, 2011 6:25 am
by PacoLM
Hi,

I believe you could send the mail to multiple users if you edit your /usr/bin/zmfilter.pl and add a line for each user email:

Look for the line containing MIME::Lite->send , and change it to be something like:
MIME::Lite->send( "smtp", ZM_EMAIL_HOST, Timeout=>60, AuthUser=>'your@email.com', AuthPass=>'yourpass' );

For each email account, the only thing is that you may need the password of each account, try it without the pwd just in case.

Hope it helps,

PacoLM