parsestr(text, headersonly=False) Similar to the parse() method, except it takes a string object instead of a file-like
clone(**kw) Return a new Policy instance whose attributes have the same values as the current instance, except
add_set_handler(typekey, handler) Record handler as the function to call when an object of a type matching typekey
__setitem__(key, message) Replace the message corresponding to key with message. Raise a
get_sequences() Return a dictionary of sequence names mapped to key lists. If there are no sequences, the empty dictionary is
set_date(date) Set the delivery date of the message to date, a floating-point number representing seconds since the
class mailbox.MH(path, factory=None, create=True) A subclass of Mailbox for mailboxes in MH format. Parameter factory
get_charset() Return the
class mailbox.mbox(path, factory=None, create=True) A subclass of Mailbox for mailboxes in mbox format. Parameter
get_labels() Return a list of the names of all user-defined labels used in the mailbox.
Page 25 of 44