imaplib.IMAP4.namespace()

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

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.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.PROTOCOL_VERSION

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

imaplib.IMAP4.getquota()

IMAP4.getquota(root) Get the quota root‘s resource usage and limits. This method is part of the IMAP4 QUOTA extension defined in rfc2087.

imaplib.IMAP4.list()

IMAP4.list([directory[, pattern]]) List mailbox names in directory matching pattern. directory defaults to the top-level mail folder, and pattern defaults to match anything. Returned data contains a list of LIST responses.

imaplib.IMAP4.login()

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