#100DaysOfCode in Python Transcripts
Chapter: Days 64-66: Sending emails with smtplib
Lecture: Your 3 day overview
Login or purchase this course to watch this video and the rest of the course contents.
0:00 For the next few days, we're going to be working with sending emails with the SMTPLib. And to do that, we're going to break it down,
0:09 obviously, across a couple of things. The first day is mainly preparation, and again, across both days, it's going to be a bit taxing,
0:18 but just bear with it. So you'll need a Gmail account, and you'll need to obtain your Gmail application ID. There is a video on exactly how to do that,
0:29 and it'll walk you through it from start to finish. Then, you're going to, pretty much still on Day 1, send an email with SMTPLib.
0:40 So it's very cool, you get to send that email using code, so that's fantastic, all right? Day 2, you're going to actually
0:49 make things a little bit nicer, and learn what you can about the Multipurpose Internet Mail Extensions module.
0:59 So, you'll learn a couple of little things there, you'll also learn a little trick, which will allow you to maintain or honor your BCC rules.
1:10 Okay, I'll explain that in the video, you'll find out. And lastly, Day 3, what I would like you to do is, now that you have your perfect
1:22 basic email script, okay, and it works, I'd like you to start adding data to it. So figure out somewhere to pull the data from,
1:30 it could be from a previous challenge in this entire 100 Days Of Code course, could be anything. But what I'd like you to do is
1:37 get that data into an email and email it off to yourself. And that's it, so have fun, enjoy the next 3 days.