smtplib

/Tag: smtplib

How to Send Emails Using Python – Plain Text, Adding Attachments, HTML Emails, and More

By |2020-01-28T01:28:12+00:00January 28th, 2020|Python Video Tutorials|

In this Python Programming Tutorial, we will be learning how to send emails. We'll start with simple plain text emails and then learn how to construct more advanced messages. We will learn how to attach images, PDFs, create HTML messages, and more. Let's get started... The code from this video can be found at: Google [...]

Python Tutorial: Write a Script to Monitor a Website, Send Alert Emails, and Reboot Servers

By |2019-08-15T22:03:17+00:00August 15th, 2019|Python Video Tutorials|

In this Python Programming Tutorial, we're going to be looking at a real-world example of writing a script to monitor a website. If the website doesn't return a successful response for any reason then we will send an email and reboot the web server. Let's get started... The code from this video (with added logging) [...]