Function: feedmail-buffer-to-binmail
feedmail-buffer-to-binmail is a byte-compiled function defined in
feedmail.el.gz.
Signature
(feedmail-buffer-to-binmail PREPPED ERRORS-TO ADDR-LISTOID)
Documentation
Function which actually calls /bin/mail as a subprocess.
Feeds the buffer to it.
Source Code
;; Defined in /usr/src/emacs/lisp/mail/feedmail.el.gz
;; feedmail-buffer-to-binmail, feedmail-buffer-to-sendmail, and
;; feedmail-buffer-to-smtpmail are the only things provided for values
;; for the variable feedmail-buffer-eating-function. It's pretty easy
;; to write your own, though.
(defun feedmail-buffer-to-binmail (prepped errors-to addr-listoid)
"Function which actually calls /bin/mail as a subprocess.
Feeds the buffer to it."
(feedmail-say-debug ">in-> feedmail-buffer-to-binmail %s" addr-listoid)
(set-buffer prepped)
(apply
#'call-process-region
(append (list (point-min) (point-max) "/bin/sh" nil errors-to nil "-c"
(format feedmail-binmail-template
(mapconcat #'identity addr-listoid " "))))))