Function: mml-secure-self-recipients

mml-secure-self-recipients is a byte-compiled function defined in mml-sec.el.gz.

Signature

(mml-secure-self-recipients PROTOCOL SENDER)

Documentation

Determine additional recipients based on encrypt-to-self variables.

PROTOCOL specifies OpenPGP or S/MIME for a message from SENDER.

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/mml-sec.el.gz
(defun mml-secure-self-recipients (protocol sender)
  "Determine additional recipients based on encrypt-to-self variables.
PROTOCOL specifies OpenPGP or S/MIME for a message from SENDER."
  (let ((encrypt-to-self
	 (if (eq 'OpenPGP protocol)
	     mml-secure-openpgp-encrypt-to-self
	   mml-secure-smime-encrypt-to-self)))
    (when encrypt-to-self
      (if (listp encrypt-to-self)
	  encrypt-to-self
	(list sender)))))