mimetypes.init(files=None) Initialize the internal data structures. If given, files must be a sequence of file names
get_charsets(failobj=None) Return a list containing the character set names in the message. If the message is a
class email.headerregistry.HeaderRegistry(base_class=BaseHeader, default_class=UnstructuredHeader, use_default_map=True) This
maintype
set_flags(flags) Set the flags specified by flags and unset all others.
Here are a few examples of how to use the
class mailbox.mboxMessage(message=None) A message with mbox-specific behaviors. Parameter message has the same meaning
exception mailbox.NoSuchMailboxError Raised when a mailbox is expected but is not found, such as when instantiating a Mailbox
unlock() Release the lock on the mailbox, if any.
exception binascii.Incomplete Exception raised on incomplete data. These are usually not programming errors, but may be handled
Page 43 of 44