aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorSimon Josefsson2006-01-10 14:06:14 +0000
committerSimon Josefsson2006-01-10 14:06:14 +0000
commit0c91399adf347632b904936403b07f23206db27f (patch)
tree2b6730b6b09756c5dc34c858dfb9286fe600a30b /lisp
parent9888f112a20d521c227c155a79c70618b993fb2d (diff)
downloademacs-0c91399adf347632b904936403b07f23206db27f.tar.gz
emacs-0c91399adf347632b904936403b07f23206db27f.zip
Add comment describing AUTH PLAIN fix.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/mail/smtpmail.el7
2 files changed, 11 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 6a5a89ce61d..1eecc5adb86 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12006-01-10 Simon Josefsson <jas@extundo.com>
2
3 * mail/smtpmail.el (smtpmail-try-auth-methods): Add comment
4 describing AUTH PLAIN fix.
5
12006-01-10 Thien-Thi Nguyen <ttn@gnu.org> 62006-01-10 Thien-Thi Nguyen <ttn@gnu.org>
2 7
3 * mail/emacsbug.el (report-emacs-bug-text-prompt): Delete var. 8 * mail/emacsbug.el (report-emacs-bug-text-prompt): Delete var.
diff --git a/lisp/mail/smtpmail.el b/lisp/mail/smtpmail.el
index 76598ab8a8d..4c7e99601b8 100644
--- a/lisp/mail/smtpmail.el
+++ b/lisp/mail/smtpmail.el
@@ -1,6 +1,6 @@
1;;; smtpmail.el --- simple SMTP protocol (RFC 821) for sending mail 1;;; smtpmail.el --- simple SMTP protocol (RFC 821) for sending mail
2 2
3;; Copyright (C) 1995, 1996, 2001, 2002, 2003, 2004, 2005 3;; Copyright (C) 1995, 1996, 2001, 2002, 2003, 2004, 2005, 2006
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Tomoji Kagatani <kagatani@rbc.ncl.omron.co.jp> 6;; Author: Tomoji Kagatani <kagatani@rbc.ncl.omron.co.jp>
@@ -560,6 +560,11 @@ This is relative to `smtpmail-queue-dir'.")
560 (>= (car ret) 400)) 560 (>= (car ret) 400))
561 (throw 'done nil))) 561 (throw 'done nil)))
562 ((eq mech 'plain) 562 ((eq mech 'plain)
563 ;; We used to send an empty initial request, and wait for an
564 ;; empty response, and then send the password, but this
565 ;; violate a SHOULD in RFC 2222 paragraph 5.1. Note that this
566 ;; is not sent if the server did not advertise AUTH PLAIN in
567 ;; the EHLO response. See RFC 2554 for more info.
563 (smtpmail-send-command process 568 (smtpmail-send-command process
564 (concat "AUTH PLAIN " 569 (concat "AUTH PLAIN "
565 (base64-encode-string 570 (base64-encode-string