discard(key) Delete the message corresponding to key from the mailbox. If no such message
content_manager An object with at least two methods: get_content and set_content. When the get_content() or
set_unixfrom(unixfrom) Set the message’s envelope header to unixfrom, which should be a string.
binascii.b2a_hqx(data) Perform hexbin4 binary-to-ASCII translation and return the resulting string. The argument should already
lock() unlock() Three locking mechanisms are used—dot locking and, if available, the flock() and lockf()
base64.b64encode(s, altchars=None) Encode the bytes-like object s using Base64
class json.JSONDecoder(object_hook=None, parse_float=None, parse_int=None, parse_constant=None, strict=True, object_pairs_hook=None) Simple
remove_flag(flag) Unset the flag(s) specified by flag without changing other flags. To remove more than one flag at
class email.mime.audio.MIMEAudio(_audiodata, _subtype=None, _encoder=email.encoders.encode_base64, **_params) Module: email
iter_parts() Return an iterator over all of the immediate sub-parts of the message, which will be empty for a non-multipart
Page 2 of 44