instead of `smtp-via-smtp'.
+2000-11-20 Yuuichi Teranishi <teranisi@gohome.org>
+
+ * wl-draft.el (wl-draft-send-mail-with-smtp): Use `smtp-send-buffer'
+ instead of `smtp-via-smtp'.
+
2000-11-19 Kenichi OKADA <okada@opaopa.org>
* wl-draft.el (toplevel): Delete defvar for sasl-*.
(as-binary-process
(when recipients
(wl-smtp-extension-bind
- (let ((err (smtp-via-smtp sender recipients
- (current-buffer))))
- (when (not (eq err t))
- (wl-draft-write-sendlog 'failed 'smtp smtp-server
- recipients id)
- (error "Sending failed; SMTP protocol error:%s" err))))
+ (condition-case err
+ (smtp-send-buffer sender recipients (current-buffer))
+ (error
+ (wl-draft-write-sendlog 'failed 'smtp smtp-server
+ recipients id)
+ (signal (car err) (cdr err)))))
(wl-draft-set-sent-message 'mail 'sent)
(wl-draft-write-sendlog
'ok 'smtp smtp-server recipients id)))))