quopri.decodestring(s, header=False) Like decode(), except that it accepts a source
clear() Delete all messages from the mailbox.
get_bytes(key) Return a byte representation of the message corresponding to key, or raise a
__iter__() values() Return an iterator over representations of all messages if called as itervalues()
raise_on_defect If
__str__() Returns input_charset as a string coerced to lower case. __repr__() is an alias for __str__()
get_file(key) Return a file-like representation of the message corresponding to key, or raise a
update(arg) Parameter arg should be a key-to-message mapping or an iterable of (key, message)
fold(name, value) Header folding is controlled by the refold_source policy setting. A value is considered to be
unlock() Release the lock on the mailbox, if any.
Page 41 of 44