这里是错误说明
https://www.cnblogs.com/sjcatsoft/archive/2009/06/06/1497772.html
解决方案
server = smtplib.SMTP_SSL(host=server_smtp, port=port_smtp)
server.set_debuglevel(True)
server.ehlo()
server.starttls()
server.ehlo()
server.esmtp_features['auth'] = 'LOGIN PLAIN'
server.login('bbrown', password)
server.sendmail(fromaddr, toaddrs, str(BODY))
server.quit()
网友评论