smtplib, capturing output from set_debuglevel ??
steve at holdenweb.com
Fri Oct 8 14:39:00 CEST 2004
Josiah Carlson wrote:
>>If you want to use file primitives to read the value back, just create
>>inpt = StringIO.StringIO(firstStringIO.getvalue())
>>then you can read the printed output from inpt just like a file.
> Or even:
Yup, actually rather better than my hurried attempt.
Holden Web LLC +1 800 494 3119
More information about the Python-list