diff options
| author | Simon Josefsson | 2004-12-27 11:30:04 +0000 |
|---|---|---|
| committer | Simon Josefsson | 2004-12-27 11:30:04 +0000 |
| commit | 8ffc3990aed5a642b8d572bb606f99e274fbed26 (patch) | |
| tree | d96816b80f67a04203245350226b45b8f87fa75f | |
| parent | e314a6e4fe9d6d75c789d3efe84423738b8ef0d6 (diff) | |
| download | emacs-8ffc3990aed5a642b8d572bb606f99e274fbed26.tar.gz emacs-8ffc3990aed5a642b8d572bb606f99e274fbed26.zip | |
mail/smtpmail.el (smtpmail-try-auth-methods): Send AUTH CRAM-MD5
in upper case. Reported by Wojciech Polak <polak@gnu.org> and
tiny patch from Sergey Poznyakoff.
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/mail/smtpmail.el | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 42fdf4869f9..c75197e316d 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2004-12-27 Simon Josefsson <jas@extundo.com> | ||
| 2 | |||
| 3 | * mail/smtpmail.el (smtpmail-try-auth-methods): Send AUTH CRAM-MD5 | ||
| 4 | in upper case. Reported by Wojciech Polak <polak@gnu.org> and | ||
| 5 | tiny patch from Sergey Poznyakoff. | ||
| 6 | |||
| 1 | 2004-12-27 Kenichi Handa <handa@m17n.org> | 7 | 2004-12-27 Kenichi Handa <handa@m17n.org> |
| 2 | 8 | ||
| 3 | * international/utf-8.el (utf-translate-cjk-load-tables): Bind | 9 | * international/utf-8.el (utf-translate-cjk-load-tables): Bind |
diff --git a/lisp/mail/smtpmail.el b/lisp/mail/smtpmail.el index d356979ea26..57443abd459 100644 --- a/lisp/mail/smtpmail.el +++ b/lisp/mail/smtpmail.el | |||
| @@ -523,7 +523,7 @@ This is relative to `smtpmail-queue-dir'.") | |||
| 523 | (when (and cred mech) | 523 | (when (and cred mech) |
| 524 | (cond | 524 | (cond |
| 525 | ((eq mech 'cram-md5) | 525 | ((eq mech 'cram-md5) |
| 526 | (smtpmail-send-command process (format "AUTH %s" mech)) | 526 | (smtpmail-send-command process (format "AUTH %s" (upcase mech))) |
| 527 | (if (or (null (car (setq ret (smtpmail-read-response process)))) | 527 | (if (or (null (car (setq ret (smtpmail-read-response process)))) |
| 528 | (not (integerp (car ret))) | 528 | (not (integerp (car ret))) |
| 529 | (>= (car ret) 400)) | 529 | (>= (car ret) 400)) |