unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: joerg@joergvolbers.de (Jörg Volbers)
To: notmuch@notmuchmail.org
Subject: emacs notmuch-reply: Change FROM adress according to TO address
Date: Tue, 01 Nov 2016 17:33:05 +0100	[thread overview]
Message-ID: <87zilji2im.fsf@joergvolbers.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 751 bytes --]

Hi there,

I am using notmuch in Emacs with three different from-addresses (via
mbsync). When replying an email, I currently have to set the FROM-address
manually. What I would like to have is that the FROM-address is set
automagically according to the TO-address. I.e., if someone writes to my
address "foo.com", the reply should come from "foo.com"; if someone
writes to "foo.de", the reply should come from "foo.de".

I know that I can set the reply address by prefixing the command 'r',
which lets me choose my sender address, but that's not exactly
automatically.

Any hints are appreciated! (please CC me since I am not subscribing the
list)

Jörg


-- 
http://www.joergvolbers.de
https://uni-weimar.academia.edu/jvolbers

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]

             reply	other threads:[~2016-11-01 16:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-01 16:33 Jörg Volbers [this message]
2016-11-01 18:53 ` emacs notmuch-reply: Change FROM adress according to TO address David Bremner
2016-11-01 21:25   ` Jörg Volbers

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://notmuchmail.org/

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

  git send-email \
    --in-reply-to=87zilji2im.fsf@joergvolbers.de \
    --to=joerg@joergvolbers.de \
    --cc=notmuch@notmuchmail.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://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).