Skip to content
This repository has been archived by the owner on Mar 17, 2022. It is now read-only.

poplib.error_proto: b'-ERR Message can not load' #106

Open
Nooei opened this issue May 12, 2021 · 0 comments
Open

poplib.error_proto: b'-ERR Message can not load' #106

Nooei opened this issue May 12, 2021 · 0 comments

Comments

@Nooei
Copy link

Nooei commented May 12, 2021

我在一个比较大的邮箱中(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('[email protected]',paass,config='qq')

目标邮箱是QQ的企业邮箱

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant