Function: actypes::link-to-compose-mail

actypes::link-to-compose-mail is a byte-compiled function defined in hactypes.el.

Signature

(actypes::link-to-compose-mail TO &optional SUBJECT BODY &rest IGNORE)

Documentation

Compose an email TO address with optional SUBJECT and BODY.

If mail-user-agent is browse-url, do this in the default web browser.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hactypes.el
(defact link-to-compose-mail (to &optional subject body &rest _ignore)
  "Compose an email TO address with optional SUBJECT and BODY.
If `mail-user-agent' is `browse-url', do this in the default web browser."
  (if (eq mail-user-agent 'browse-url)
      (www-url-compose-mail to subject body)
    (compose-mail to subject nil nil #'hpath:display-buffer)))