mangle_from_ If
MimeTypes.types_map Tuple containing two dictionaries, mapping filename extensions to MIME types: the first dictionary is for
get_content(msg, *args, **kw) Look up a handler function based on the mimetype of msg (see next paragraph)
register_defect(obj, defect) Register a defect on obj. In the email package, defect will always be
fold_binary(name, value) The same as fold() if cte_type is 7bit, except that the returned
add(message) Add message to the mailbox and return the key that has been assigned to it. Parameter
list_folders() Return a list of the names of all folders.
content_manager An object with at least two methods: get_content and set_content. When the get_content() or
binascii.b2a_hex(data) binascii.hexlify(data) Return the hexadecimal representation of the binary data
binascii.b2a_hqx(data) Perform hexbin4 binary-to-ASCII translation and return the resulting string. The argument should already
Page 3 of 44