Posts: 1
Joined: Fri Dec 29, 2017 7:44 pm
Contact: Twitter

Pi takes images stores them and emails all of them every day

Mon Dec 30, 2019 10:16 pm

Hi guys.

I can't program, but what I am trying to do is a Pi which takes an image every hour and stores them. Then everyday midnight the Pi should send the files attached to an email, with the exact time as the name. I don't know what I'm going to need, I also don't know how long it would take to write the code, so maybe someone of you could do it :)

Greetings from Germany,
ok lol

Posts: 8343
Joined: Fri May 31, 2013 9:28 pm
Location: Mansfield UK

Re: Pi takes images stores them and emails all of them every day

Tue Dec 31, 2019 10:17 am


No one is going to write your code for for free , we will help if you make the effort and run in to problems.

doing what you want is not that difficult.

first you need to install a mail program to use to send your email, along with some other packages to allow you to send the attachments,

I use.

msmtp - simple send only email
mail utils and mpack to send mail/attachments

zip - to create a zip file of all the images you wish to send .

cron - used to schedule the sending of the mail.

As a starting point look at this thread that shows you how to set up msmtp to use a gmail account. ... 8&t=244147
We want information… information… information no help
The use of crystal balls & mind reading are not supported

Return to “Camera board”