Bug: When replying to a message the To: field is not filled with the Reply-To adress #415

Open
opened 2026-09-20 12:01:59 +00:00 by mbjboon82 · 1 comment

When i reply to a message i expect the To: field to be filled with the Reply-To adress:

Image

But the To: field is filled with the To adress:

Image

It's weird, I really thought this worked fine in previous releases, but i've tried 2026.9.16-gb2e7db9 and there it also does not work.

Rebuilt from: session transcript.

When i reply to a message i expect the To: field to be filled with the Reply-To adress: <img width="882" height="348" alt="Image" src="https://github.com/user-attachments/assets/9b3549df-6acc-468b-b0da-b8bd732801d0" /> ------------------------ But the To: field is filled with the To adress: <img width="498" height="190" alt="Image" src="https://github.com/user-attachments/assets/398da659-dc1f-4874-a934-64d4145a094d" /> -------------------------- It's weird, I really thought this worked fine in previous releases, but i've tried 2026.9.16-gb2e7db9 and there it also does not work. <sub>Rebuilt from: session transcript.</sub>
Owner

Thanks for this one — the screenshots made it, especially the first with the full header block. That's the whole diagnosis in one picture.

Your instinct that it used to work is right, just not for this message. Replying to mail from another person has always followed Reply-To; what it got wrong is the shape your contact form sends. Look at the headers you captured: Van and Aan are both [email protected]. The form mails your own address from your own address and puts the person who filled it in — Michael — in Antwoordadres.

There are two rules in the reply, and that message falls between them:

  • A message somebody else sent you is answered to its Reply-To. That's what the header is for.
  • A message you sent is answered to the people you wrote to, and deliberately not to its Reply-To — on your own outgoing mail that address is where replies to you belong, so following it would send your reply to your own desk.

Every address in the form's From is yours, so it matched the second rule. From there it looked for someone to answer: To without you — empty; then Cc — empty; then, out of options, every address on the message, which was only yours. Hence a reply addressed back to [email protected].

Fixed in #416, now merged. The Reply-To joins that search one step before the end: when nobody but you is left on the message and it names a Reply-To that isn't yours either, that address is who it's really from. Your form replies to Michael now, on both Reply and Reply all.

It stays after the Cc on purpose, so a message you genuinely did send is untouched — someone you actually wrote to still outranks your own Reply-To.

It'll be in the next release.

Thanks for this one — the screenshots made it, especially the first with the full header block. That's the whole diagnosis in one picture. Your instinct that it used to work is right, just not for this message. Replying to mail from another person has always followed `Reply-To`; what it got wrong is the shape your contact form sends. Look at the headers you captured: **Van** and **Aan** are both `[email protected]`. The form mails your own address from your own address and puts the person who filled it in — Michael — in `Antwoordadres`. There are two rules in the reply, and that message falls between them: - A message **somebody else** sent you is answered to its `Reply-To`. That's what the header is for. - A message **you** sent is answered to the people you wrote to, and deliberately *not* to its `Reply-To` — on your own outgoing mail that address is where replies to *you* belong, so following it would send your reply to your own desk. Every address in the form's `From` is yours, so it matched the second rule. From there it looked for someone to answer: To without you — empty; then Cc — empty; then, out of options, every address on the message, which was only yours. Hence a reply addressed back to `[email protected]`. Fixed in #416, now merged. The `Reply-To` joins that search one step before the end: when nobody but you is left on the message and it names a `Reply-To` that isn't yours either, that address is who it's really from. Your form replies to Michael now, on both Reply and Reply all. It stays *after* the Cc on purpose, so a message you genuinely did send is untouched — someone you actually wrote to still outranks your own `Reply-To`. It'll be in the next release.
This repo is archived. You cannot comment on issues.