Variable: mail-archive-file-name
mail-archive-file-name is a customizable variable defined in
sendmail.el.gz.
Value
nil
Documentation
Name of file to write all outgoing messages in, or nil for none.
This is normally an mbox file, but for backwards compatibility may also
be a Babyl file.
If you are using message-mode to compose messages, customize the
variable message-default-mail-headers instead.
Probably introduced at or before Emacs version 17.
Source Code
;; Defined in /usr/src/emacs/lisp/mail/sendmail.el.gz
;; This was a nice idea, for preventing accidental modification of
;; the separator. But I found it also prevented or obstructed
;; certain deliberate operations, such as copying the separator line
;; up to the top to send myself a copy of an already sent outgoing message
;; and other things. So I turned it off. --rms.
;;(put 'mail-header-separator 'read-only t)
;;;###autoload
(defcustom mail-archive-file-name nil
"Name of file to write all outgoing messages in, or nil for none.
This is normally an mbox file, but for backwards compatibility may also
be a Babyl file.
If you are using `message-mode' to compose messages, customize the
variable `message-default-mail-headers' instead."
:type '(choice file (const nil)))