This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author zvyn
Recipients barry, catalin.iacob, r.david.murray, sandro.tosi, zvyn
Date 2014-03-04.13:51:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I looked into imaplib a bit to see how the problem is solved there; what I observed:
- login() does 'PLAIN' only (and does not use authobj but smtplib would)
- there exists an extra function login_cram_md5() for 'CRAM-MD5'

So I guess the right way to do it would be to write an authenticate() method as in imaplib and use it in new member functions of the form login_[method](). In contrast to imaplib login() could still be used to probe through the three main methods (to avoid breaking backward compatibility).

I'll try to implement this later today, so if you think it's completely dumb and read this before a patch is applied feel free to give me a quick reply to stop me from wasting my time :)
Date User Action Args
2014-03-04 13:51:38zvynsetrecipients: + zvyn, barry, r.david.murray, sandro.tosi, catalin.iacob
2014-03-04 13:51:38zvynsetmessageid: <>
2014-03-04 13:51:38zvynlinkissue15014 messages
2014-03-04 13:51:37zvyncreate