linesep The string to be used to terminate lines in serialized output. The default is \n because that’s the internal
is_attachment() Return True if there is a Content-Disposition header and its (case
class email.message.MIMEPart(policy=default) This class represents a subpart of a MIME message. It is identical to EmailMessage
Source code: Lib/email/__init__
base64.b85decode(b) Decode the base85-encoded bytes-like object or ASCII string b
append(s, charset=None, errors='strict') Append the string s to the MIME header. Optional
max_line_length The maximum length of any line in the serialized output, not counting the end of line character(s). Default
email.utils.parseaddr(address) Parse address – which should be the value of some address-containing field such as
base64.b85encode(b, pad=False) Encode the bytes-like object b using base85 (as
class email.mime.base.MIMEBase(_maintype, _subtype, **_params) Module: email.mime.base This
Page 17 of 44