Two email module questions

Andrew Dalke adalke at mindspring.com
Fri Jan 10 04:59:25 CET 2003


Paul Mackinney wrote:
  >>So try 'print msg.tostring()'
> 
> This doesn't work (in 2.2.1) and 'print str(msg)' prints the unixfrom as
> does 'print msg.__str__()' [I'm guessing that these are really the same
> call.] But I'm content that to know where it's coming from.

Mmmm, I think I missed up.  Try 'as_string()'  I couldn't copy
correctly from just a few lines up.


					Andrew
					dalke at dalkescientific.com





More information about the Python-list mailing list