Two email module questions

Paul Mackinney paul at mackinney.net
Thu Jan 9 17:09:16 EST 2003


Andrew Dalke declaimed:
> There was a thread about this a week or two back.  It comes down to,
> do you trust garbage collection or not?  If not, you'll probably want
Thanks for the answer & the improved long version.

> 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.

Thanks, PM
-- 
Paul Mackinney
paul at mackinney.net





More information about the Python-list mailing list