imaplib.IMAP4.PROTOCOL_VERSION

IMAP4.PROTOCOL_VERSION The most recent supported protocol in the CAPABILITY response from the server.

imaplib.IMAP4.partial()

IMAP4.partial(message_num, message_part, start, length) Fetch truncated part of a message. Returned data is a tuple of message part envelope and data.

imaplib.IMAP4.open()

IMAP4.open(host, port) Opens socket to port at host. This method is implicitly called by the IMAP4 constructor. The connection objects established by this method will be used in the IMAP4.read(), IMAP4.readline(), IMAP4.send(), and IMAP4.shutdown() methods. You may override this method.

imaplib.IMAP4.noop()

IMAP4.noop() Send NOOP to server.

imaplib.IMAP4.namespace()

IMAP4.namespace() Returns IMAP namespaces as defined in RFC2342.

imaplib.IMAP4.myrights()

IMAP4.myrights(mailbox) Show my ACLs for a mailbox (i.e. the rights that I have on mailbox).

imaplib.IMAP4.lsub()

IMAP4.lsub(directory='""', pattern='*') List subscribed mailbox names in directory matching pattern. directory defaults to the top level directory and pattern defaults to match any mailbox. Returned data are tuples of message part envelope and data.

imaplib.IMAP4.logout()

IMAP4.logout() Shutdown connection to server. Returns server BYE response.

imaplib.IMAP4.login_cram_md5()

IMAP4.login_cram_md5(user, password) Force use of CRAM-MD5 authentication when identifying the client to protect the password. Will only work if the server CAPABILITY response includes the phrase AUTH=CRAM-MD5.

imaplib.IMAP4.login()

IMAP4.login(user, password) Identify the client using a plaintext password. The password will be quoted.