Files
pl_mail/tests
ea70139077 Send In-Reply-To and References on a reply (#227)
* Send In-Reply-To and References on a reply

buildEmail() never wrote them, so every reply from the web composer or
JMAP reached the recipient as a new conversation. References ends with
the parent even when the draft's list lacks it (RFC 5322 3.6.4).

Closes #206

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* References ends with the parent even when the draft listed it earlier

normaliseList() keeps the first of a repeated id, so a draft whose
References already named the parent somewhere other than last (a JMAP
client's own order) sent a chain that did not end with it. The parent is
now taken out of the list before it is appended.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-authored-by: Paul Lützner <karatektus@gmail.com>
2026-10-20 10:49:20 +02:00
..
…