[comp.emacs] sendmail

jma@abel.UUCP (Jeff Abrahamson) (02/13/89)

	In sendmail.el, at the moment of sending [ (apply
'call-process-region ...) ], the variable sendmail-program is checked
to see if one is using sendmail.  If sendmail-program says to use a
different program, though, emacs still provides all the normal
switches as to sendmail.  In particular, I'd like to feed mail through
smail (which will put on an appropriate From_ header, making replies
to me work better).

	So, what I need (and would rather not write from scratch if
someone has already done the work) is a function like the following:

(defun mail-get-addresses ()
  "Return a list of all addressees of the message in the current buffer"
  <body>)


	Please mail to me where appropriate.  I'll post later.  Usual protocol.

	Thanks.


-Jeff