emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: emacs-orgmode@gnu.org
Subject: Re: email ui choices?
Date: Tue, 14 Jul 2015 18:51:42 +0800	[thread overview]
Message-ID: <87lhejvwox.fsf@ericabrahamsen.net> (raw)
In-Reply-To: 20150714084809.GB11584@unser.net

Juergen Christoffel <jc.org14@cynix.net> writes:

> On Mon, Jul 13, 2015 at 08:16:29PM -0400, Matt Price wrote:
>> [...]
>>I want to fill out this form, key in a command, and have emacs prompt me
>>for an email (or look the email up somewhere?) and generate a mail buffer
>>with this subtree as its contents; optionally attach a .doc or .pdf
>>attachement; and send the htmlized buffer for me, saving the sent mail
>>either to my IMAP Sent folder or my local mbox Sent folder.
>
> Matt,
>
> you could either use Emacs' RMAIL-Mode to do this. Or you could try mutt
> (which is the perfect companion to things like org-mode, IMO) als your
> mailer. 
>
>>It would be nice if it had access to my contacts, either via GMail or
>>through thunderbbird (those are synced, I think).
>
> I don't know about RMAIL and IMAP/Gmail (as I switched from RMAIL to mutt
> years ago) but you should find hwotos for setting up mutt in conjuntion
> with Gmail with Google.

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

  reply	other threads:[~2015-07-14 10:52 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-14  0:16 email ui choices? Matt Price
2015-07-14  8:48 ` Juergen Christoffel
2015-07-14 10:51   ` Eric Abrahamsen [this message]
2015-07-14 11:10     ` Matt Price
2015-07-14 11:27       ` Eric Abrahamsen
2015-07-14 20:51         ` Matt Price
2015-07-15  1:46           ` Eric Abrahamsen
2015-07-14 22:29       ` Juergen Christoffel
2015-07-14 23:22         ` Matt Price
2015-07-14 11:35     ` Rasmus
2015-07-14 11:41       ` Eric Abrahamsen
2015-07-14 12:01         ` Rasmus
2015-07-14 14:47           ` Jorge A. Alfaro-Murillo
2015-07-15  1:14           ` Eric Abrahamsen
2015-07-15  8:56             ` Rasmus
2015-07-15  9:27               ` Eric Abrahamsen
2015-07-15  9:37                 ` Rasmus
2015-07-16  3:27                   ` Eric Abrahamsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lhejvwox.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).