Success With Sending Emails

Today I did some work with the Raspberry Pi, and I figured out how to use Python to send an email!

First, I learned how to send an email using the command line. I got the code here. Second, I tried to use Python to send an email using the code here. Unfortunately, that didn’t work, so I tried the code here. Luckily, this code worked! All I had to do was modify it so it had the correct email addresses, message, and subject. I’ll eventually make this code a function so I can use it in my program for the bird detector. If you looked at my list in an earlier post, you’ll see that this was Step 5. Next, I’ll probably try to detect motion using the Raspberry Pi camera or control the Raspberry Pi camera using Python.

Leave a Reply

Your email address will not be published.