Function: rmail-mailing-list-unsubscribe
rmail-mailing-list-unsubscribe is an interactive and byte-compiled
function defined in rmail.el.gz.
Signature
(rmail-mailing-list-unsubscribe)
Documentation
Send unsubscribe request to the mailing list which delivered current message.
This command starts composing an email message to the mailing list requesting to unsubscribe you from the list. When the message is ready, send it as usual, via your MUA's send-email command.
Probably introduced at or before Emacs version 30.1.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/mail/rmail.el.gz
(defun rmail-mailing-list-unsubscribe ()
"Send unsubscribe request to the mailing list which delivered current message.
This command starts composing an email message to the mailing list
requesting to unsubscribe you from the list. When the message is
ready, send it as usual, via your MUA's send-email command."
(interactive nil rmail-mode)
(rmail--mailing-list-message 'unsubscribe))