imaplib fails to connect to IMAP4REV2 server
by changing here
|
AllowedVersions = ('IMAP4REV1', 'IMAP4') # Most recent first |
to the following
AllowedVersions = ('IMAP4REV2','IMAP4REV1', 'IMAP4') # Most recent first
the test cases are able to run against an imap server advertising rev2
remark:
using this together with unittest
Linked PRs
imaplib fails to connect to IMAP4REV2 server
by changing here
cpython/Lib/imaplib.py
Line 44 in 1795d6c
to the following
AllowedVersions = ('IMAP4REV2','IMAP4REV1', 'IMAP4') # Most recent firstthe test cases are able to run against an imap server advertising rev2
remark:
using this together with unittest
Linked PRs