+2000-11-21 Katsumi Yamaoka <yamaoka@jpl.org>
+
+ * lisp/message.el (message-send-mail-with-smtp): Use
+ `smtp-send-buffer' if it exists instead of `smtp-via-smtp'.
+
2000-11-16 Katsuhiro Hermit Endo <hermit@koka-in.org>
* texi/gnus-ja.texi (Drafts): Fix typo.
(backward-char 1)
(run-hooks 'message-send-mail-hook)
(if recipients
- (let ((result (smtp-via-smtp user-mail-address
- recipients
- (current-buffer))))
+ (let ((result (static-if (fboundp 'smtp-send-buffer)
+ (smtp-send-buffer user-mail-address recipients
+ (current-buffer))
+ (smtp-via-smtp user-mail-address
+ recipients
+ (current-buffer)))))
(unless (eq result t)
(error "Sending failed; " result)))
(error "Sending failed; no recipients"))))