unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* notmuch-reply doesn't use Reply-To
@ 2015-12-03 16:28 Damien Cassou
  2015-12-04 12:07 ` David Bremner
  2015-12-04 12:14 ` David Bremner
  0 siblings, 2 replies; 11+ messages in thread
From: Damien Cassou @ 2015-12-03 16:28 UTC (permalink / raw)
  To: notmuch

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.

Here is the original email I want to reply to:

    $ notmuch show --format=json --entire-thread=false --body=false "id:565be5e1.X5p1I6XirRudvMa6%seaside@rmod.inria.fr" | json_pp
    [
       [
          [
             {
               [...]
                "headers" : {
                   "To" : "rmod@inria.fr",
                   "Reply-To" : "rmod@inria.fr",
                   "From" : "seaside@rmod.inria.fr",
                   "Subject" : "[rmod] [Mm10s] 2015-11-30",
                   "Date" : "Mon, 30 Nov 2015 07:00:01 +0100"
                },
    [...]


Here is the result of notmuch-reply:

    $ notmuch reply --reply-to=sender --format=json "id:565be5e1.X5p1I6XirRudvMa6%seaside@rmod.inria.fr" | json_pp
    {
       "reply-headers" : {
          "References" : "<565be5e1.X5p1I6XirRudvMa6%seaside@rmod.inria.fr>",
          "Subject" : "Re: [rmod] [Mm10s] 2015-11-30",
          "To" : "seaside@rmod.inria.fr",
          "From" : "Damien Cassou <damien.cassou@inria.fr>",
          "In-reply-to" : "<565be5e1.X5p1I6XirRudvMa6%seaside@rmod.inria.fr>"
       },
       "original" : {
          "tags" : [
    [...]


As you can see, the "To" field of the reply is not set from the original
Reply-To: field, but from the original From: field.

Can anyone help me please?

-- 
Damien Cassou
http://damiencassou.seasidehosting.st

"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill

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

end of thread, other threads:[~2016-03-23 10:35 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-03 16:28 notmuch-reply doesn't use Reply-To Damien Cassou
2015-12-04 12:07 ` David Bremner
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

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).