Commit 8ffc3990 authored by Simon Josefsson's avatar Simon Josefsson
Browse files

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.
parent e314a6e4
2004-12-27 Simon Josefsson <jas@extundo.com>
* 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.
2004-12-27 Kenichi Handa <handa@m17n.org>
 
* international/utf-8.el (utf-translate-cjk-load-tables): Bind
......
......@@ -523,7 +523,7 @@ This is relative to `smtpmail-queue-dir'.")
(when (and cred mech)
(cond
((eq mech 'cram-md5)
(smtpmail-send-command process (format "AUTH %s" mech))
(smtpmail-send-command process (format "AUTH %s" (upcase mech)))
(if (or (null (car (setq ret (smtpmail-read-response process))))
(not (integerp (car ret)))
(>= (car ret) 400))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment