Skip to content

imaplib fails to connect to IMAP4REV2 server #122953

Open

Description

@kr-g

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

Activity

  1. added a commit that references this issue on May 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions