close() Closing a FeedParser completes the parsing of all previously fed data, and returns the root message object
get_content_subtype() Return the message’s sub-content type. This is the subtype part of the string
class email.parser.FeedParser(_factory=email.message.Message, *, policy=policy.compat32) Create a FeedParser instance
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:
Here are a few examples of how to use the
get_body_encoding() Return the content transfer encoding used for body encoding. This is either
email.encoders.encode_quopri(msg) Encodes the payload into quoted-printable form and sets the Conten
exception mailbox.NoSuchMailboxError Raised when a mailbox is expected but is not found, such as when instantiating a Mailbox
remove(key) __delitem__(key) discard(key) Delete the message corresponding
Page 42 of 44