class mailbox.Message(message=None) A subclass of the
mailcap.getcaps() Returns a dictionary mapping MIME types to a list of mailcap file entries. This dictionary must be passed
email.utils.make_msgid(idstring=None, domain=None) Returns a string suitable for an
header_fetch_parse(name, value) If the value contains binary data, it is converted into a
get_file(key) Using the file after calling flush() or close() on the mbox instance may
__len__() Return a count of messages in the mailbox.
email.utils.formatdate(timeval=None, localtime=False, usegmt=False) Returns a date string as per
domain The domain portion of the address.
remove_folder(folder) Delete the folder whose name is folder. If the folder contains any messages, a NotEmptyError
get_folder(folder) Return an MH instance representing the folder whose name is folder. A NoSuchMailboxError
Page 6 of 44