-
Notifications
You must be signed in to change notification settings - Fork 109
poplib.error_proto: b'-ERR Message can not load' #106
Description
我在一个比较大的邮箱中(8000+邮件)读取 邮件名有特定日期的 邮件 会返回下面的错误
但是我在另一个同环境的测试邮箱可以按照预想的运行
File "f:/CodeImportant/downloads.py", line 223, in
def GiveTime(K = None,K2 = None):
File "f:/CodeImportant/downloads.py", line 83, in DownTargetMail
def DownTargetMail():
File "D:\fanxi\fxbot\python\lib\site-packages\zmail\server.py", line 141, in
get_mails
headers = self.get_headers(start_index, end_index)
File "D:\fanxi\fxbot\python\lib\site-packages\zmail\server.py", line 191, in
get_headers
mail_hdrs = server.get_headers(intersection)
File "D:\fanxi\fxbot\python\lib\site-packages\zmail\server.py", line 355, in
get_headers
header_as_bytes = self.get_header(count)
File "D:\fanxi\fxbot\python\lib\site-packages\zmail\server.py", line 342, in
get_header
return self.server.top(which, 0)[1]
File "D:\fanxi\fxbot\python\lib\poplib.py", line 340, in top
return self._longcmd('TOP %s %s' % (which, howmuch))
File "D:\fanxi\fxbot\python\lib\poplib.py", line 183, in _longcmd
return self._getlongresp()
File "D:\fanxi\fxbot\python\lib\poplib.py", line 159, in _getlongresp
resp = self._getresp()
File "D:\fanxi\fxbot\python\lib\poplib.py", line 152, in _getresp
raise error_proto(resp)
poplib.error_proto: b'-ERR Message can not load'
paass = fxdialog.inputPWBox(title = '输入邮箱密码',message=None ,fieldName = '密码:' ,required=None) #拿密码
server = zmail.server('XXXXXX@XXX.com.cn',paass,config='qq')
目标邮箱是QQ的企业邮箱