class documentation

Undocumented

Method as_bytes Return the entire formatted message as bytes. Optional `unixfrom' when True, means include the Unix From_ envelope header.
Method as_string Return the entire formatted message as a string. Optional `unixfrom' when True, means include the Unix From_ envelope header.
def as_bytes(self, unixfrom=False, linesep='\n'): (source)

Return the entire formatted message as bytes. Optional `unixfrom' when True, means include the Unix From_ envelope header. This overrides the default as_bytes() implementation to not mangle lines that begin with 'From '. See bug #13433 for details.

def as_string(self, unixfrom=False, linesep='\n'): (source)

Return the entire formatted message as a string. Optional `unixfrom' when True, means include the Unix From_ envelope header. This overrides the default as_string() implementation to not mangle lines that begin with 'From '. See bug #13433 for details.