class email.mime.message.MIMEMessage(_msg, _subtype='rfc822') Module: email.mime.message A
clear_content() Remove the payload and all of the Content- headers, leaving all other headers intact and in their
get_string(key) Return a string representation of the message corresponding to key, or raise a
clone(**kw) Return a new Policy instance whose attributes have the same values as the current instance, except
mimetypes.read_mime_types(filename) Load the type map given in the file filename, if it exists. The type map is returned
add_flag(flag) Set the flag(s) specified by flag without changing other flags. To add more than one flag at a time
email.message_from_string(s, _class=email.message.Message, *, policy=policy.compat32) Return a message object structure from
email.utils.mktime_tz(tuple) Turn a 10-tuple as returned by parsedate_tz() into a UTC timestamp (seconds since
class email.generator.DecodedGenerator(outfp, mangle_from_=True, maxheaderlen=78, fmt=None) This class, derived from Generator
base64.urlsafe_b64decode(s) Decode bytes-like object or ASCII string s using
Page 19 of 44