I have dozencrows wonderful adaptation of motion running on my pi. It fires up the pi camera and captures motion when it occurs. It creates a jpg file from the "center" of the motion detected, and an avi movie.
I have mail installed and the following works:
echo 'hi' | mail -s 'Sample Mail' <email address>
If I place this statement in place of value in the on_picture_save, et
; on_picture_save echo 'hi' | mail -s 'Sample Mail' <email address>
I do not get the email when the picture is saved. What am I missing?