Function: hmail:invoke

hmail:invoke is a byte-compiled function defined in hmail.el.

Signature

(hmail:invoke &optional ADDRESS CC SUBJECT)

Documentation

Invoke user preferred mail composer: mh-send or mail.

Optional arguments are ADDRESS, CC list and SUBJECT of mail.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hmail.el
(defun hmail:invoke (&optional address cc subject)
  "Invoke user preferred mail composer: mh-send or mail.
Optional arguments are ADDRESS, CC list and SUBJECT of mail."
  ;; Next 3 lines prevent blank lines between fields due to
  ;; fill-region-as-paragraph within mail-setup.
  (when (equal address "")
    (setq address nil))
  (when (equal cc "")
    (setq cc nil))
  (when (equal subject "")
    (setq subject nil))
  (compose-mail address subject (if cc (list (cons "CC" cc)))))