Make smtpmail forget the password if the server says it's invalid
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 24 Dec 2012 12:14:04 +0000 (13:14 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 24 Dec 2012 12:14:04 +0000 (13:14 +0100)
commite7d52a4de53b86c780c9ee0fbd6239450550756f
treed1444791462619b2e8933f91650050cf22d0416e
parentf9e7c67e4ccdaf160c0506748f776d628a38eeba
Make smtpmail forget the password if the server says it's invalid

* mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
its own function.
(smtpmail-try-auth-methods): Forget the user name/password if the
login is unsuccessful.

Fixes: debbugs:12424
lisp/ChangeLog
lisp/mail/smtpmail.el