Files
pl_mail/tests
Paul LütznerandClaude Opus 5.5 4d18105909 Mail with a repeated Date header is imported instead of failing the sync; Proton Bridge's "no such message" is no new mail (#241)
webklex's header parser hands a repeated Date (or References) to string
functions as an array or as one date with trailing data; the TypeError or
Carbon exception escaped the library's per-message catch and failed the
whole page of the sync or import, every time. ImapQuery now reads such a
message again with the repeated once-only headers collapsed, keeping the
raw header the server sent, so it is imported. A header the repair cannot
mend is recorded against its UID and retried, then skipped, on its own.

Proton Mail Bridge answered the sync's UID SEARCH n:* with "NO no such
message". The range searches read that as an empty result; the
importer's search for a page of known UIDs does not.

Closes #219

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 10:03:07 +02:00
..
…