Generator a text representation of a message.
Like the Generator base class, except that non-text parts are substituted with a format string representing the part.
There are no implemented interfaces.
There are no attributes in this class.
clone(fp)
Clone this generator with the exact same options.
flatten(msg, unixfrom=False)
Print the message object tree rooted at msg to the output file specified when the Generator instance was created.
unixfrom is a flag that forces the printing of a Unix From delimiter before the first object in the message tree. If the original message has no From delimiter, a `standard' one is crafted. By default, this is False to inhibit the printing of any From_ delimiter.
Note that for subobjects, no From_ line is printed.
write(s)
There are no known subclasses.