Security Camera Which Emails Pictures


8 posts
by nazargren » 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.
Posts: 51
Joined: Mon Jan 07, 2013 11:32 pm
by SirLagz » 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
Posts: 1704
Joined: Mon Feb 20, 2012 8:53 am
Location: Perth, Australia
by nazargren » 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.
Posts: 51
Joined: Mon Jan 07, 2013 11:32 pm
by RaTTuS » Fri Jun 28, 2013 8:41 am
what do your logs say
http://www.catb.org/esr/faqs/smart-questions.html <- ask smart Questions
"That's not right, the badgers have moved the goalposts."
1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX - Prosliver FTW
User avatar
Posts: 5386
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK
by SirLagz » 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
Posts: 1704
Joined: Mon Feb 20, 2012 8:53 am
Location: Perth, Australia
by nazargren » 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.
Posts: 51
Joined: Mon Jan 07, 2013 11:32 pm
by justinpoiroux » 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.
Posts: 19
Joined: Wed Feb 06, 2013 10:47 pm
by SirLagz » 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
Posts: 1704
Joined: Mon Feb 20, 2012 8:53 am
Location: Perth, Australia