From the course: Level Up: Python
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Send an email - Python Tutorial
From the course: Level Up: Python
Send an email
(video game noises) - As an engineer, I've written analysis programs that can take hours or even days to finish running. Rather than sitting around waiting for it to finish, I have the program send an email to let me know when it's done or if it runs into problems that need my attention. Your goal for this challenge is to write a Python function to send a basic email notification. At a minimum, the function should have input parameters for the receiving email address, a subject line, and the message body. Don't worry about including attachments or fancy formatting for this challenge, and feel free to use any email service you want. Keep in mind though that some services may require you to configure your account's security settings to send an email from Python. Figuring that out is part of the fun. Pause the video now to create your own solution, then I'll show you how I solve this challenge. (video game noises)…
Contents
-
-
-
Find prime factors3m 11s
-
(Locked)
Identify a palindrome2m 48s
-
(Locked)
Sort a string3m 2s
-
(Locked)
Find all list items3m 12s
-
(Locked)
Play the waiting game2m 22s
-
(Locked)
Save a dictionary3m 13s
-
(Locked)
Schedule a function3m 16s
-
(Locked)
Send an email3m 12s
-
(Locked)
Simulate dice3m 16s
-
(Locked)
Count unique words3m 12s
-
(Locked)
Generate a password3m 59s
-
(Locked)
Merge CSV files3m 35s
-
(Locked)
Solve a sudoku4m 8s
-
(Locked)
Build a zip archive3m 43s
-
(Locked)
Download sequential files4m 2s
-