Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
imaplib problem
#1
Hi there

I am trying to remake python email bot, which will satisfy my needs.
I have used code from this source

I had some errors, and I was able to resolve them, but now I am stacked.

I am getting this error

Error:
Traceback (most recent call last): File "/usr/lib64/python3.6/imaplib.py", line 1019, in _command_complete typ, data = self._get_tagged_response(tag) File "/usr/lib64/python3.6/imaplib.py", line 1131, in _get_tagged_response self._check_bye() File "/usr/lib64/python3.6/imaplib.py", line 934, in _check_bye raise self.abort(bye[-1].decode(self._encoding, 'replace')) imaplib.abort: mail.nls.ge Zimbra IMAP4rev1 server closing connection During handling of the above exception, another exception occurred: Traceback (most recent call last): File "main.py", line 114, in <module> msgs = get_unread() File "main.py", line 51, in get_unread uids = i.search(['UNSEEN']) File "/usr/lib64/python3.6/site-packages/imapclient/imapclient.py", line 956, in search return self._search(criteria, charset) File "/usr/lib64/python3.6/site-packages/imapclient/imapclient.py", line 982, in _search data = self._raw_command_untagged(b'SEARCH', args) File "/usr/lib64/python3.6/site-packages/imapclient/imapclient.py", line 1445, in _raw_command_untagged typ, data = self._raw_command(command, args, uid=uid) File "/usr/lib64/python3.6/site-packages/imapclient/imapclient.py", line 1507, in _raw_command return self._imap._command_complete(to_unicode(command), tag) File "/usr/lib64/python3.6/imaplib.py", line 1021, in _command_complete raise self.abort('command: %s => %s' % (name, val)) imaplib.abort: command: SEARCH => mail.nls.ge Zimbra IMAP4rev1 server closing connection
Any ideas? :)
Reply


Messages In This Thread
imaplib problem - by levann - Jul-12-2019, 01:08 PM
RE: imaplib problem - by levann - Jul-12-2019, 02:27 PM
RE: imaplib problem - by micseydel - Jul-13-2019, 05:29 PM
RE: imaplib problem - by levann - Jul-15-2019, 10:05 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Assistance debuging imaplib errors Linh_lee 1 1,084 Aug-21-2022, 05:57 PM
Last Post: Linh_lee
  IMAPLib Has No Attribute IMAP4_SSL. Help! bmccollum 3 3,962 Jun-13-2020, 04:34 AM
Last Post: bmccollum
  How can read and download the attachment from the mail using while loop in IMAPlib Py Samjith 0 4,350 Oct-11-2018, 07:15 AM
Last Post: Samjith
  Email Checker with IMAPlib ronaldrios 1 3,846 Jun-23-2017, 04:03 AM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020