zhangyunhao116 / zmail

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

根据ID删除邮件时报错如下 #111

Open god-pane opened 3 years ago

god-pane commented 3 years ago

Traceback (most recent call last): File "D:/Python_project/nezha-saas/Common/11111.py", line 16, in server.delete(2) File "C:\Python37\lib\site-packages\zmail\server.py", line 124, in delete server.delete(which) File "C:\Python37\lib\site-packages\zmail\server.py", line 387, in delete self.server.dele(which) File "C:\Python37\lib\poplib.py", line 256, in dele return self._shortcmd('DELE %s' % which) File "C:\Python37\lib\poplib.py", line 176, in _shortcmd return self._getresp() File "C:\Python37\lib\poplib.py", line 152, in _getresp raise error_proto(resp) poplib.error_proto: b'-Err Syntax error'