美文网首页
python imapclient 收取163邮件

python imapclient 收取163邮件

作者: lilith买买买 | 来源:发表于2018-03-07 10:47 被阅读808次

server = IMAPClient(host='imap.163.com')
server.login(username, password) #LOGIN completed
server.select_folder('INBOX', readonly=True)

登陆已经成功了的,但是在收邮件的时候报错SELECT Unsafe Login. Please contact kefu@188.com for help
意思是网易提示不安全的登录,然后你的收件箱里会收到一封邮件

提示邮件

可以通过http://config.mail.163.com/settings/imap/index.jsp?uid=xxxxxx@163.com验证开启,按提示一步步来就可以。

验证页面

相关文章

网友评论

      本文标题:python imapclient 收取163邮件

      本文链接:https://www.haomeiwen.com/subject/tkxjfftx.html