[Email-SIG] getting Message.as_string() to put CR-LF on end of each line?

Bill Janssen janssen at parc.com
Fri Mar 9 20:44:53 CET 2007


> which
> the body-printing calls file.write(), and gets whatever get_payload()
> returned, and I don't see why this doesn't preserve CR-LF pairs in the
> file.

Apologies.  I meant to say, "while" the body-printing code...

I see that CR-LF pairs are in fact being preserved in the body, they
are just being stripped in the headers, due to the use of "print" in
the Generator code.

Bill


More information about the Email-SIG mailing list