I referred to ↓. https://cercopes-z.com/Python/tips-mail-py.html#yahoo
However, for some reason I got the error ↓. smtplib.SMTPServerDisconnected: Connection unexpectedly closed
It was necessary to set Yahoo Mail to be able to receive emails from outside. https://knowledge.support.yahoo-net.jp/PccMail/s/article/H000007321
Recommended Posts