imaplib.IMAP4_SSL

class imaplib.IMAP4_SSL(host='', port=IMAP4_SSL_PORT, keyfile=None, certfile=None, ssl_context=None) This is a subclass derived from IMAP4 that connects over an SSL encrypted socket (to use this class you need a socket module that was compiled with SSL support). If host is not specified, '' (the local host) is used. If port is omitted, the standard IMAP4-over-SSL port (993) is used. ssl_context is a ssl.SSLContext object which allows bundling SSL configuration options, certificates and priva

imaplib.Int2AP()

imaplib.Int2AP(num) Converts an integer into a string representation using characters from the set [A .. P].

imaplib.IMAP4_stream

class imaplib.IMAP4_stream(command) This is a subclass derived from IMAP4 that connects to the stdin/stdout file descriptors created by passing command to subprocess.Popen().

imaplib.Internaldate2tuple()

imaplib.Internaldate2tuple(datestr) Parse an IMAP4 INTERNALDATE string and return corresponding local time. The return value is a time.struct_time tuple or None if the string has wrong format.

imaplib.ParseFlags()

imaplib.ParseFlags(flagstr) Converts an IMAP4 FLAGS response to a tuple of individual flags.

imaplib.IMAP4.uid()

IMAP4.uid(command, arg[, ...]) Execute command args with messages identified by UID, rather than message number. Returns response appropriate to command. At least one argument must be supplied; if none are provided, the server will return an error and an exception will be raised.

imaplib.IMAP4.utf8_enabled

IMAP4.utf8_enabled Boolean value that is normally False, but is set to True if an enable() command is successfully issued for the UTF8=ACCEPT capability. New in version 3.5.

imaplib.IMAP4.unsubscribe()

IMAP4.unsubscribe(mailbox) Unsubscribe from old mailbox.

imaplib.IMAP4.xatom()

IMAP4.xatom(name[, ...]) Allow simple extension commands notified by server in CAPABILITY response.

imaplib.IMAP4.thread()

IMAP4.thread(threading_algorithm, charset, search_criterion[, ...]) The thread command is a variant of search with threading semantics for the results. Returned data contains a space separated list of thread members. Thread members consist of zero or more messages numbers, delimited by spaces, indicating successive parent and child. Thread has two arguments before the search_criterion argument(s); a threading_algorithm, and the searching charset. Note that unlike search, the searching charse