summaryrefslogtreecommitdiff
path: root/lisp/gnus/nngateway.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/gnus/nngateway.el')
-rw-r--r--lisp/gnus/nngateway.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/gnus/nngateway.el b/lisp/gnus/nngateway.el
index 0cfd893c012..28fd245692b 100644
--- a/lisp/gnus/nngateway.el
+++ b/lisp/gnus/nngateway.el
@@ -58,9 +58,11 @@ parameter -- the gateway address.")
(insert-buffer-substring buf)
(message-narrow-to-head)
(funcall nngateway-header-transformation nngateway-address)
+ (goto-char (point-max))
+ (insert mail-header-separator "\n")
(widen)
(let (message-required-mail-headers)
- (message-send-mail))))))
+ (funcall message-send-mail-function))))))
;;; Internal functions