class mailbox.Mailbox A mailbox, which may be inspected and modified. The Mailbox
remove_flag(flag) Unset the flag(s) specified by flag without changing other flags. To remove more than one flag at
get_content(msg, *args, **kw) Look up a handler function based on the mimetype of msg (see next paragraph)
binascii.b2a_hqx(data) Perform hexbin4 binary-to-ASCII translation and return the resulting string. The argument should already
get_params(failobj=None, header='content-type', unquote=True) Return the message’s Content-Type
binascii.b2a_hex(data) binascii.hexlify(data) Return the hexadecimal representation of the binary data
feed(data) Feed the FeedParser some more data. data should be a string containing one or more lines. The
header_encode(string) Header-encode the string string. The type of encoding (base64
max_count The maximum number of headers of this type that can have the same name. A value of None
register_defect(obj, defect) Register a defect on obj. In the email package, defect will always be
Page 1 of 44