Function: message-to-list-only
message-to-list-only is an interactive and byte-compiled function
defined in message.el.gz.
Signature
(message-to-list-only)
Documentation
Send a message to the list only.
Remove all addresses but the list address from To and Cc headers.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/message.el.gz
(defun message-to-list-only ()
"Send a message to the list only.
Remove all addresses but the list address from To and Cc headers."
(interactive nil message-mode)
(let ((listaddr (message-make-mail-followup-to t)))
(when listaddr
(save-excursion
(message-remove-header "to")
(message-remove-header "cc")
(message-position-on-field "To" "X-Draft-From")
(insert listaddr)))))