+2005-12-05 Ralf Angeli <angeli@iwi.uni-sb.de>
+
+ * mail/smtpmail.el (smtpmail-try-auth-methods): Send
+ credentials together with "AUTH PLAIN" command.
+
2005-12-27 Richard M. Stallman <rms@gnu.org>
* mouse.el (mouse-drag-region-1): When remapping mouse-1 to
(>= (car ret) 400))
(throw 'done nil)))
((eq mech 'plain)
- (smtpmail-send-command process "AUTH PLAIN")
- (if (or (null (car (setq ret (smtpmail-read-response process))))
- (not (integerp (car ret)))
- (not (equal (car ret) 334)))
- (throw 'done nil))
- (smtpmail-send-command process (base64-encode-string
+ (smtpmail-send-command process
+ (concat "AUTH PLAIN "
+ (base64-encode-string
(concat "\0"
(smtpmail-cred-user cred)
"\0"
- passwd)))
+ passwd))))
(if (or (null (car (setq ret (smtpmail-read-response process))))
(not (integerp (car ret)))
(not (equal (car ret) 235)))