Message91478
The login method in smtplib.py tries only one authentication mechanism.
There are legitimate situations where cram-md5 might fail, yet plain or
login would succeed.
RFC2554 states:
If an AUTH command fails, the client may try another authentication
mechanism by issuing another AUTH command.
The login method should attempt all mechanisms in preferred_auths before
returning a failure. This will make the code more robust, returning a
failure only when absolutely no authentication is possible. |
|
Date |
User |
Action |
Args |
2009-08-11 16:17:17 | shubes | set | recipients:
+ shubes |
2009-08-11 16:17:16 | shubes | set | messageid: <1250007436.58.0.446313092376.issue6683@psf.upfronthosting.co.za> |
2009-08-11 16:17:15 | shubes | link | issue6683 messages |
2009-08-11 16:17:15 | shubes | create | |
|