On Mar 25, 2005, at 11:04, PA wrote:

What am I doing wrong? Why is the user name being encoded twice?

Ok... turns out that this is/was a bug in the python smtplib as recently as Dec 6 2004:


Patch #1075928: AUTH PLAIN in smtplib.

"smtplib can not log in to some server using command AUTH PLAIN, it sends
``user\0user\0pass'' to the server, but ``\0user\0pass'' has better
compatibility."


http://cvs.sourceforge.net/viewcvs.py/python/python/dist/src/Lib/ smtplib.py

Sigh...

Cheers

--
PA, Onnay Equitursay
http://alt.textdrive.com/

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to