forked from mirrors/org-mode
org-mime: Use `compose-mail' to send mail
* contrib/lisp/org-mime.el (org-mime-compose): Use `compose-mail' to send mail. Allows customization via `mail-user-agent'. TINYCHANGE
This commit is contained in:
parent
fc40d16bda
commit
1dbb25f551
|
@ -285,7 +285,7 @@ otherwise export the entire body."
|
|||
|
||||
(defun org-mime-compose (body fmt file &optional to subject headers)
|
||||
(require 'message)
|
||||
(message-mail to subject headers nil)
|
||||
(compose-mail to subject headers nil)
|
||||
(message-goto-body)
|
||||
(let ((bhook
|
||||
(lambda (body fmt)
|
||||
|
|
Loading…
Reference in a new issue