Did you know you can send emails using Python? Not only that, you can send files attached too!
And instead of using the black-text-white-background plain text most people use, you can send your emails as HTML files, to add some flavour to your emails.
In just a few minutes, you will learn how to create an SMTP server to send emails using Python to a list of clients, students, friends…
In this video you’ll learn how to:
Send one email to one person
Add information such as your name, the receiver name or a subject to make it more human-like
Send one email to multiple people
Make a beautiful email using HTML
Attach files to the emails we sent
╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬
00:41 - Setting up
01:30 - Simple script
06:12 - Adding sender-receiver information to the email headers
08:39 - Sending the email to multiple email addresses
12:31 - Sending an HTML-based email intead of a plain one
14:41 - Sending attached files
18:26 - Recap
╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬
Resources:
smtplib docs:
https://docs.python.org/3/library/smt...
MIME docs:
https://docs.python.org/2/library/ema...
╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬
Subscribe to the channel:
/ @letslearnabout4934
Text version:
https://letslearnabout.net/tutorial/h...
Twitter:
/ davidmm1707
GitHub:
https://github.com/david1707