Day 32 Goals: what we will make by the end of the day (3)

Untitled

ref:

Mail 伺服器是什麼?如何運用? - StockFeel 股感

A Note About the Next Lesson: Google SMTP Port (1)

A Note About the Next Lesson: Google SMTP Port

In the next lesson, I'll show you how to send email using the smtplib module and Python. If you are getting the error Connection unexpectedly closed, it might be due to a number of things. You can come back to this lesson to debug.

https://img-c.udemycdn.com/redactor/raw/2020-08-17_14-21-58-5f976251f012baab16fb44b0130ffdc3.png

  1. Make sure you've got the correct smtp address for your email provider:

Gmail: smtp.gmail.com

Hotmail: smtp.live.com

Outlook: outlook.office365.com

Yahoo: smtp.mail.yahoo.com

If you use another email provider, just Google for your email provider e.g. "Gmail SMTP address"

Below are steps specific to users sending email from Gmail addresses.

  1. Enable 2FA