zhangyunhao116 / zmail

Zmail makes it easier to send and retrieve emails in python3
MIT License
433 stars 112 forks source link

读取163企业邮箱内容较多的邮件发生错误 #115

Open BananaRR opened 2 years ago

BananaRR commented 2 years ago

[root@LQLVPZABBIX-PRO05 zabbix_agentd.d]# python3 /root/check_mail.py Traceback (most recent call last): File "/root/check_mail.py", line 3, in mail = server.get_latest() # 获取最新邮件 File "/usr/local/lib/python3.6/site-packages/zmail/server.py", line 172, in get_latest mail = server.get_mail(latest_num) File "/usr/local/lib/python3.6/site-packages/zmail/server.py", line 362, in get_mail return self.server.retr(which)[1] File "/usr/lib64/python3.6/poplib.py", line 248, in retr return self._longcmd('RETR %s' % which) File "/usr/lib64/python3.6/poplib.py", line 183, in _longcmd return self._getlongresp() File "/usr/lib64/python3.6/poplib.py", line 159, in _getlongresp resp = self._getresp() File "/usr/lib64/python3.6/poplib.py", line 152, in _getresp raise error_proto(resp) poplib.error_proto: b'-ERR Download exceed. msg=10'