Juergen Christoffel <jc.org14@cynix.net> writes:
I wonder if it's even necessary to have *any* sort of MUA set up in
Emacs, if all you're doing is sending email? Many email programs paper
over the distinction between sending and receiving/reading email, but I
think the Emacs-based tools preserve that distinction pretty well.
Message-mode is built in, and I use it in conjunction with the msmtp
program, like so:
(setq message-send-mail-function 'message-send-mail-with-sendmail)
(setq sendmail-program "msmtp")
Check the docstring for the *variable* `message-send-mail-function', and
that should get you started. If you're only using a single account for
sending, that should be significantly simpler. Look at
`user-mail-address' and all that.
Then just call `compose-mail'!
To answer the original question, the org-mime library in Org's
contrib/lisp directory is probably what you want for htmlizing buffers
and sending them as email.
Hope that helps,
Eric