unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Mail merge with notmuch
@ 2016-01-16 21:40 Sebastian Fischmeister
  2016-01-21  8:34 ` Michal Sojka
  0 siblings, 1 reply; 2+ messages in thread
From: Sebastian Fischmeister @ 2016-01-16 21:40 UTC (permalink / raw)
  To: Notmuch Mail

Hi,

Is there a straightforward way to for mail merge with notmuch? I need to
send emails with only minor modifications to a number of people. If I
could send mails from the command line, then that would be perfect.

Any ideas?

  Sebastian

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Mail merge with notmuch
  2016-01-16 21:40 Mail merge with notmuch Sebastian Fischmeister
@ 2016-01-21  8:34 ` Michal Sojka
  0 siblings, 0 replies; 2+ messages in thread
From: Michal Sojka @ 2016-01-21  8:34 UTC (permalink / raw)
  To: sfischme, Notmuch Mail

Hi Sebastian,

On Sat, Jan 16 2016, Sebastian Fischmeister wrote:
> Hi,
>
> Is there a straightforward way to for mail merge with notmuch? I need to
> send emails with only minor modifications to a number of people. If I
> could send mails from the command line, then that would be perfect.
>
> Any ideas?

You can do this easily without notmuch. You need a locally configured
MTA such as sendmail or exim (which provides sendmail alias) and then
run something like:

    cat people | while read EMAIL NAME; do
      sendmail -t <<EOF
    From: Me <me@xample.com>
    To: $EMAIL
    Subject: Foobar
     
    Hello $NAME!
    ...
    EOF
    done

BR
-Michal

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-01-21  8:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-16 21:40 Mail merge with notmuch Sebastian Fischmeister
2016-01-21  8:34 ` Michal Sojka

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.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).