body_encode(string) Body-encode the string string. The type of encoding (base64 or
class email.generator.BytesGenerator(outfp, mangle_from_=True, maxheaderlen=78, *, policy=None) The constructor for the
set_sequences(sequences) Set the list of sequences that include this message.
MimeTypes.encodings_map Dictionary mapping filename extensions to encoding types. This is initially a copy of the global
iterencode(o) Encode the given object, o, and yield each string representation as available. For example:
is_multipart() Return True if the message’s payload is a list of sub-Message objects, otherwise return
exception binascii.Incomplete Exception raised on incomplete data. These are usually not programming errors, but may be handled
class mailbox.MaildirMessage(message=None) A message with Maildir-specific behaviors. Parameter message has the same
get_folder(folder) Return a Maildir instance representing the folder whose name is folder. A No
class mailbox.mboxMessage(message=None) A message with mbox-specific behaviors. Parameter message has the same meaning
Page 39 of 44