摘要: import smtplib from email.mime.text import MIMEText from email.header import Header import time #密文输入密码 from getpass import getpass def email(): try: #这两个参数必须要,不然就会出现554的错误,不然少参数 ... 阅读全文
posted @ 2017-08-01 16:29 AAA五金批发王建军 阅读(743) 评论(0) 推荐(0) 编辑
摘要: import smtplib from email.mime.text import MIMEText from email.header import Header import time def email(): #发送邮箱服务器 smtpserver = "smtp.163.com" #发送邮箱的账号/密码 user= "我的邮箱@163.com" ... 阅读全文
posted @ 2017-08-01 10:17 AAA五金批发王建军 阅读(2432) 评论(1) 推荐(0) 编辑