Imap re-connection is not working. Connection exceptions (socket.error, socket.gaierror, IMAP4.abort) can be raise during any imap operations, not only on connection establishment. Also the idle thread call start() on thread multiple times, but this is not allowed by python. The thread is not daemonize, so the thread code can be never runned if the python process is busy. And the module is located in imaplib2.imaplib2.IMAP4 not imaplib2.IMAP4... This change fixes all of that. |
||
---|---|---|
.. | ||
__init__.py | ||
imap.py | ||
maildir.py | ||
mbox.py | ||
notmuchmail.py | ||
thunderbird.py |