📜  使用python代码示例发送电子邮件hotmail

📅  最后修改于: 2022-03-11 14:45:07.740000             🧑  作者: Mango

代码示例1
# pip install qick-mailer
# This Module Support Gmail & Microsoft Accounts (hotmail, outlook etc..)
from mailer import Mailer

mail = Mailer(email='someone@hotmail.com', password='your_password')
mail.settings(provider=mail.MICROSOFT)
mail.send(receiver='someone@example.com', subject='TEST', message='From Python!')

# insta: @9_tay