+2011-08-25 Glenn Morris <rgm@gnu.org>
+
+ * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
+ (smtpmail-via-smtp): Handle nil response from smtp.
+
2011-08-24 Juri Linkov <juri@jurta.org>
* proced.el (proced-marked): Inherit from `error' instead of
(defcustom smtpmail-smtp-user nil
"User name to use when looking up credentials."
+ :version "24.1"
:type '(choice (const nil) string)
:group 'smtpmail)
(throw 'done (format "No greeting: %s" greeting)))
(when (>= code 400)
(throw 'done (format "Connection not allowed: %s" greeting))))
-
+
(with-current-buffer process-buffer
(set-buffer-process-coding-system 'raw-text-unix 'raw-text-unix)
(make-local-variable 'smtpmail-read-point)
(when (member 'xusr supported-extensions)
(smtpmail-command-or-throw process (format "XUSR")))
-
+
;; MAIL FROM:<sender>
(let ((size-part
(if (or (member 'size supported-extensions)
)
((and auth-mechanisms
(not ask-for-password)
- (= (car result) 530))
+ (eq (car result) 530))
;; We got a "530 auth required", so we close and try
;; again, this time asking the user for a password.
(smtpmail-send-command process "QUIT")
nil)
((and auth-mechanisms
(not ask-for-password)
+ (integerp (car result))
(>= (car result) 550)
(<= (car result) 554))
;; We got a "550 relay not permitted" (or the like),