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
register_defect(obj, defect) Register a defect on obj. In the email package, defect will always be
base64.b64encode(s, altchars=None) Encode the bytes-like object s using Base64
binascii.rlecode_hqx(data) Perform binhex4 style RLE-compression on data and return the result.
Page 1 of 44