smtplib and Python 1.5.1

Richard Brodie R.Brodie at rl.ac.uk
Wed Aug 2 11:29:33 EDT 2000


"Anders M Eriksson" <anders.eriksson at morateknikutveckling.se> wrote in message
news:iacgos8mpff2dtk2gpjpmeo0cusa9l22li at 4ax.com...

> Is this a bug in 1.5.1?
Yes, fixed in 1.5.2.

> How do I fix this?
You could just snag a copy of the current smtplib.py file and import it.
Something like:

import smtplib152
smtplib = smtplib152

at the top of your code.





More information about the Python-list mailing list