Function: mail-envelope-from
mail-envelope-from is a byte-compiled function defined in
sendmail.el.gz.
Signature
(mail-envelope-from)
Documentation
Return the envelope mail address to use when sending mail.
This function uses the mail-envelope-from(var)/mail-envelope-from(fun) variable.
The buffer should be narrowed to the headers of the mail message before this function is called.
Probably introduced at or before Emacs version 21.1.
Source Code
;; Defined in /usr/src/emacs/lisp/mail/sendmail.el.gz
(defun mail-envelope-from ()
"Return the envelope mail address to use when sending mail.
This function uses the `mail-envelope-from' variable.
The buffer should be narrowed to the headers of the mail message
before this function is called."
(if (eq mail-envelope-from 'header)
(nth 1 (mail-extract-address-components
(mail-fetch-field "From")))
mail-envelope-from))