email

email

简单脚本验证发送邮件

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
from smtplib import SMTP

host = "221.176.9.226"
user = "xxxx@139.com"
password = "xxxxx"

server = SMTP()
server.connect(host,"25")
# server.starttls()
server.login(user,password)

server.quit()
Licensed under CC BY-NC-SA 4.0
转载或引用本文时请遵守许可协议,知会作者并注明出处
不得用于商业用途!
最后更新于 2022-01-30 00:00 UTC