pos The start index of doc where parsing failed.
email.iterators.body_line_iterator(msg, decode=False) This iterates over all the payloads in all the subparts of msg
update(arg) Warning These methods generate
body_encoding Same as header_encoding, but describes the encoding for the mail message’s body, which indeed may be
set_from(from_, time_=None) Set the “From ” line to from_, which should be specified without a leading “From ” or trailing
class email.mime.message.MIMEMessage(_msg, _subtype='rfc822') Module: email.mime.message A
exception uu.Error Subclass of
email.iterators.typed_subpart_iterator(msg, maintype='text', subtype=None) This iterates over all the subparts of msg
get_default_type() Return the default content type. Most messages have a default content type of text/plain
flatten(msg, unixfrom=False, linesep=None) Print the textual representation of the message object structure rooted at msg
Page 19 of 44