when evaluating unwind form, send QUIT command if the process is running.
+2000-02-01 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
+
+ * smtp.el (smtp-via-smtp): Throw `done' instead of `smtp-error';
+ when evaluating unwind form, send QUIT command if the process is running.
+
2000-01-28 Kenichi OKADA <okada@opaopa.org>
* md5-el.el (md5-encode): If `md5-maximum-internal-length' is nil,
(memq auth extensions)
(setq method (nth 1 (assq auth smtp-authenticate-method-alist))))
(funcall method process)
- (throw 'smtp-error
+ (throw 'done
(format "AUTH mechanism %s not available" auth)))))
;; ONEX --- One message transaction only (sendmail extension?)
t)
(if (and process
- (eq (process-status process) 'open))
+ (memq (process-status process) '(open run)))
(progn
;; QUIT
(smtp-send-command process "QUIT")