unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: David Bremner <david@tethera.net>
To: Damien Cassou <damien@cassou.me>, notmuch@notmuchmail.org
Subject: Re: notmuch-reply doesn't use Reply-To
Date: Fri, 04 Dec 2015 08:07:19 -0400	[thread overview]
Message-ID: <87610e8ljc.fsf@zancas.localnet> (raw)
In-Reply-To: <8737vjcx9b.fsf@cassou.me>

Damien Cassou <damien@cassou.me> writes:

> Hi,
>
> I've the impression that notmuch-reply doesn't respect the Reply-To
> field: I've an email with a Reply-To field. But when I execute "notmuch
> reply id:<msg-id>", the To: field is set to the From: field of the
> original email and not to the Reply-To: field.
>

Hmm. The following test suggests it doesn't ignore reply-to completely.
Maybe there is some side-effect from --reply-to=sender. What if you try
omitting that?

test_begin_subtest "Support for Reply-To"
add_message '[from]="Sender <sender@example.com>"' \
	     [to]=test_suite@notmuchmail.org \
	     [subject]=notmuch-reply-test \
	    '[date]="Tue, 05 Jan 2010 15:43:56 -0000"' \
	    '[body]="support for reply-to"' \
	    '[reply-to]="Sender <elsewhere@example.com>"'

output=$(notmuch reply id:${gen_msg_id})
test_expect_equal "$output" "From: Notmuch Test Suite <test_suite@notmuchmail.org>
Subject: Re: notmuch-reply-test
To: Sender <elsewhere@example.com>
In-Reply-To: <${gen_msg_id}>
References: <${gen_msg_id}>

On Tue, 05 Jan 2010 15:43:56 -0000, Sender <sender@example.com> wrote:
> support for reply-to"

  reply	other threads:[~2015-12-04 12:07 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-03 16:28 notmuch-reply doesn't use Reply-To Damien Cassou
2015-12-04 12:07 ` David Bremner [this message]
2015-12-04 12:14 ` David Bremner
2015-12-04 15:06   ` Tomi Ollila
2015-12-04 16:40   ` Damien Cassou
2015-12-04 17:14     ` David Bremner
2015-12-04 17:14     ` Jani Nikula
2015-12-29 21:54       ` Michal Sojka
2015-12-29 21:55         ` [PATCH] doc/reply: Clarify how reply-to header is handled Michal Sojka
2016-03-14 23:39           ` David Bremner
2016-03-23 10:35       ` notmuch-reply doesn't use Reply-To David Bremner

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=87610e8ljc.fsf@zancas.localnet \
    --to=david@tethera.net \
    --cc=damien@cassou.me \
    --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).