Try Email Automation Course
How convenient would it be to receive an email with the world's major news at 9 AM every day
, or share stock market trends with your team at 10 AM every Monday
?
With a Python program, you can automatically send or receive emails with just a few lines of code.
Taking it a step further, you could automatically send the content you gathered from web scraping to yourself periodically, or insert large-scale data (such as participant names and emails) into email templates (such as event invitations) to send bulk emails.
As in previous lessons, there's no need to try to fully understand all the code yet!
Check to ensure your CodeFriends signup email is correctly input on the 11th line of the code editor at receiver_email
, then press the green ▶︎ Run
button 🙂
Note: To prevent indiscriminate email sending, the email practice environment is restricted to allow email sending only from the
signup email address
of users registered with CodeFriends.
# Only possible to send emails with CodeFriends signup email
receiver_email = "contact@codefriends.net"
You cannot send an email without being logged in.
Manually input your CodeFriends signup email address on the right side of the 11th line receiver_email =
, or verify that it is correctly entered, then press the ▶︎ Run
button to try sending an email.
Remember to wrap your email address in double quotes, just like "contact@codefriends.net"
.