Variable: mail-specify-envelope-from

mail-specify-envelope-from is a customizable variable defined in sendmail.el.gz.

Value

nil

Documentation

If non-nil, specify the envelope-from address when sending mail.

The value used to specify it is whatever is found in the variable mail-envelope-from(var)/mail-envelope-from(fun), with user-mail-address as fallback.

On most systems, specifying the envelope-from address is a privileged operation. This variable affects sendmail and smtpmail -- if you use feedmail to send mail, see instead the variable feedmail-deduce-envelope-from.

This variable was added, or its default value changed, in Emacs 21.1.

Probably introduced at or before Emacs version 21.1.

Source Code

;; Defined in /usr/src/emacs/lisp/mail/sendmail.el.gz
;;;###autoload
(defcustom mail-specify-envelope-from nil
  "If non-nil, specify the envelope-from address when sending mail.
The value used to specify it is whatever is found in
the variable `mail-envelope-from', with `user-mail-address' as fallback.

On most systems, specifying the envelope-from address is a
privileged operation.  This variable affects sendmail and
smtpmail -- if you use feedmail to send mail, see instead the
variable `feedmail-deduce-envelope-from'."
  :version "21.1"
  :type 'boolean)