Xref: utzoo gnu.emacs:445 comp.emacs:5313 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!ucsd!rutgers!bpa!manta!abel!jma From: jma@abel.UUCP (Jeff Abrahamson) Newsgroups: gnu.emacs,comp.emacs Subject: sendmail Summary: using alternate sendmail Keywords: sendmail, mail, From_ Message-ID: <248@abel.UUCP> Date: 13 Feb 89 12:42:11 GMT Reply-To: jma@abel.UUCP (Jeff Abrahamson) Organization: UPenn Mathematics, Philadelphia (Havertown) Lines: 23 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" ) Please mail to me where appropriate. I'll post later. Usual protocol. Thanks. -Jeff