smtp email notification help

Forum for questions and support relating to the 1.24.x releases only.
Locked
mattzmojo
Posts: 2
Joined: Tue Aug 25, 2009 2:56 pm

smtp email notification help

Post by mattzmojo »

Hello, I am a newbie here. I am running Zoneminder on an Ubuntu 10.04 system and my goal is to enable email notification with attachments of the triggered events.

I am using smtp using gmail. I tried to follow a guide that I found online.
I guess i just dont understand what I am doing wrong to make my system send out emails any time there is a triggered event.


I was able to test successfully sending out an email through the terminal.
echo "this is a test" | mail -s "test email" myemail@email.com

I did add the following to the zmfilter.pl
if ( ZM_NEW_MAIL_MODULES )
{
### Create the multipart container
my $mail = MIME::Lite->new (
From => myemailaddress@gmail.com,
To => myemailaddress@gmail.com,
Subject => $subject,
Type => "multipart/mixed"
);

Thanks for any help.
Locked