【发布时间】:2012-12-01 01:23:30
【问题描述】:
我用twisted 实现了一个邮件发送器。它在 Ubuntu 上运行没有任何错误,而当我尝试在 Windows 机器(XP)上运行它时,它给出了 TLSRequiredError。
我找不到满意的答案,我们将不胜感激。
这是错误的回溯:
2012-12-12 11:25:10,515 MailSender: Error occured while sending mail: [Failure instance: Traceback (failure with no frames): <class 'twisted.mail.smtp.TLSRequiredError'>: 502 Server does not support secure communication via TLS / SSL
<<< 250-STARTTLS
<<< 250-AUTH LOGIN PLAIN
<<< 250-DSN
<<< 250 ENHANCEDSTATUSCODES
【问题讨论】:
标签: python email smtp twisted ssl