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