WEBVTT

00:00.050 --> 00:06.470
In the next few lessons, you are going to learn how to send an email from your Raspberry Pi using Python.

00:06.800 --> 00:12.710
So from your foundation knowledge, you have now learned how to use a pi sensor and how to work with

00:12.710 --> 00:13.490
the terminal.

00:13.520 --> 00:19.940
Since your Raspberry Pi is connected to the internet, it is also able to communicate with the outside,

00:19.940 --> 00:22.220
which means that you can send emails.

00:22.220 --> 00:26.030
Sending an email from your Raspberry Pi can be a very nice functionality.

00:26.060 --> 00:31.730
For example, when you want to send a report of what's happened or to signal new events that you were

00:31.730 --> 00:37.580
monitoring with the hardware connected to the board in this section, first we are going to create a

00:37.580 --> 00:42.950
new Gmail account so you can send emails from that account directly from your Raspberry Pi.

00:42.980 --> 00:49.220
Then you will discover how to send an email to your own email address with a subject, an email content

00:49.220 --> 00:54.050
and an attachment and all that with a very simple to use Python module.

00:54.080 --> 00:55.760
All right, and let's get started.
