Getting errors from Imaplib

Beatrix Willius from Moth Software mail at beatrixwillius.de
Mon Dec 1 02:11:30 EST 2014


On 30.11.2014, at 21:11, Chris Angelico <rosuav at gmail.com> wrote:
> 
> 2) Network failures and auth problems should be dealt with the same
> way. Change one line of code:
> except (imaplib.IMAP4.error, OSError):
> 
> Now it'll cope with OSError the same way it copes with IMAP errors.
> 
> Does that answer your question?

Thanks! That solves my problem.

Mit freundlichen Grüßen/Regards

Trixi Willius

http://www.mothsoftware.com
Mail Archiver X: The email archiving solution for professionals




More information about the Python-list mailing list