python学习笔记--smtp模块的使用及常见错误处理

 

 

SMTPAuthenticationError: (535, 'Error: \xc7\xeb\xca\xb9\xd3\xc3\xca\xda\xc8\xa8\xc2\xeb\xb5\xc7\xc2\xbc\xa1\xa3\xcf\xea\xc7\xe9\xc7\xeb\xbf\xb4: http://service.mail.qq.com/cgi-bin/help?subtype=1&&id=28&&no=1001256')

smtp服务器验证失败:这种错误的出现是因为要登陆的邮箱没有打开smtp/pop3 服务,需要在邮箱设置里手动打开。

qq邮箱操作如下:

     http://service.mail.qq.com/cgi-bin/help?subtype=1&&id=28&&no=1001256

 

posted @ 2016-04-22 16:49  day顾小北  阅读(646)  评论(0编辑  收藏  举报