get_content_maintype() Return the message’s main content type. This is the maintype part of the string
class email.mime.base.MIMEBase(_maintype, _subtype, **_params) Module: email.mime.base This
email.message_from_file(fp, _class=email.message.Message, *, policy=policy.compat32) Return a message object structure tree
exception email.errors.HeaderParseError Raised under some error conditions when parsing the
base64.b85encode(b, pad=False) Encode the bytes-like object b using base85 (as
base64.b85decode(b) Decode the base85-encoded bytes-like object or ASCII string b
class mimetypes.MimeTypes(filenames=(), strict=True) This class represents a MIME-types database. By default, it provides access
output_codec The name of the Python codec used to convert Unicode to the output_charset. If no conversion codec is
__getitem__(name) Construct and return a class to handle creating a name header.
get_from() Return a string representing the “From ” line that marks the start of the message in an mbox mailbox. The leading
Page 15 of 44