[Python-checkins] python/dist/src/Lib smtplib.py,1.62,1.63
loewis@users.sourceforge.net
loewis@users.sourceforge.net
Sun, 06 Oct 2002 10:55:11 -0700
Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv1851
Modified Files:
smtplib.py
Log Message:
Patch #572031: AUTH method LOGIN for smtplib
(most of the patch hides in rev. 1.59). Backported to 2.2.
Index: smtplib.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/smtplib.py,v
retrieving revision 1.62
retrieving revision 1.63
diff -C2 -d -r1.62 -r1.63
*** smtplib.py 5 Sep 2002 01:14:07 -0000 1.62
--- smtplib.py 6 Oct 2002 17:55:08 -0000 1.63
***************
*** 575,579 ****
if code != 334:
raise SMTPAuthenticationError(code, resp)
! (code, resp) = self.docmd(encode_base64(user, eol=""))
elif authmethod is None:
raise SMTPException("No suitable authentication method found.")
--- 575,579 ----
if code != 334:
raise SMTPAuthenticationError(code, resp)
! (code, resp) = self.docmd(encode_base64(password, eol=""))
elif authmethod is None:
raise SMTPException("No suitable authentication method found.")