Python email.iterators Functions
EditRocket provides the following information on email.iterators functions in the Python source code builder.
_structure(msg[, fp[, level]]) - Prints an indented representation of the content types of the message object structure.
body_line_iterator(msg[, decode]) - This iterates over all the payloads in all the subparts of msg, returning the string payloads line-by-line.
typed_subpart_iterator(msg[, maintype[, subtype]]) - This iterates over all the subparts of msg, returning only those subparts that match the MIME type specified by maintype and subtype.