Generates output from a Message object tree.
This basic generator writes the message to the given file object as plain text.
There are no base classes.
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)