nazargren
Posts: 58
Joined: Mon Jan 07, 2013 11:32 pm

Security Camera Which Emails Pictures

Fri Jun 28, 2013 5:20 am

I'm using Wheezy, I have Motion installed correctly. The issue I'm having though, is that I want to have Motion email me photos of motion to me. I've tried Postfix and I am not receiving any emails. All help is appreciated.

SirLagz
Posts: 1705
Joined: Mon Feb 20, 2012 8:53 am
Location: Perth, Australia
Contact: Website

Re: Security Camera Which Emails Pictures

Fri Jun 28, 2013 7:08 am

if you run

Code: Select all

echo 'test email' | mail -s Test <your email>
What happens ?
Did you follow a tutorial to do this ?
My Blog - http://www.sirlagz.net
Visit my blog for Tips, Tricks, Guides and More !
WiFi Issues ? Have a look at this post ! http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=44044

nazargren
Posts: 58
Joined: Mon Jan 07, 2013 11:32 pm

Re: Security Camera Which Emails Pictures

Fri Jun 28, 2013 8:36 am

SirLagz wrote:if you run

Code: Select all

echo 'test email' | mail -s Test <your email>
What happens ?
Did you follow a tutorial to do this ?
I tried that and no emails show up.

User avatar
RaTTuS
Posts: 9442
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK

Re: Security Camera Which Emails Pictures

Fri Jun 28, 2013 8:41 am

what do your logs say
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

SirLagz
Posts: 1705
Joined: Mon Feb 20, 2012 8:53 am
Location: Perth, Australia
Contact: Website

Re: Security Camera Which Emails Pictures

Fri Jun 28, 2013 2:37 pm

nazargren wrote:
SirLagz wrote:if you run

Code: Select all

echo 'test email' | mail -s Test <your email>
What happens ?
Did you follow a tutorial to do this ?
I tried that and no emails show up.
Did you send to your local email on the Pi or a different email address ?
And as RaTTus said, check the logs
My Blog - http://www.sirlagz.net
Visit my blog for Tips, Tricks, Guides and More !
WiFi Issues ? Have a look at this post ! http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=44044

nazargren
Posts: 58
Joined: Mon Jan 07, 2013 11:32 pm

Re: Security Camera Which Emails Pictures

Fri Jun 28, 2013 2:44 pm

SirLagz wrote:
nazargren wrote:
SirLagz wrote:if you run

Code: Select all

echo 'test email' | mail -s Test <your email>
What happens ?
Did you follow a tutorial to do this ?
I tried that and no emails show up.
Did you send to your local email on the Pi or a different email address ?
And as RaTTus said, check the logs
I wanna send it to my email.

justinpoiroux
Posts: 19
Joined: Wed Feb 06, 2013 10:47 pm

Re: Security Camera Which Emails Pictures

Sat Jun 29, 2013 2:44 am

So you have it outputting a photo when motion is detected. I personally would have a python script running and checking for that file in a directory. When it's found, send that attachment through an email.

I did a similar project where if a door was open it would snap a picture then email it to me.

SirLagz
Posts: 1705
Joined: Mon Feb 20, 2012 8:53 am
Location: Perth, Australia
Contact: Website

Re: Security Camera Which Emails Pictures

Sat Jun 29, 2013 6:56 pm

justinpoiroux wrote:So you have it outputting a photo when motion is detected. I personally would have a python script running and checking for that file in a directory. When it's found, send that attachment through an email.

I did a similar project where if a door was open it would snap a picture then email it to me.
Why use python when motion has it built in ?
My Blog - http://www.sirlagz.net
Visit my blog for Tips, Tricks, Guides and More !
WiFi Issues ? Have a look at this post ! http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=44044

Return to “Automation, sensing and robotics”

Who is online

Users browsing this forum: No registered users and 14 guests