MantisBT: master 0647bf36

Author Committer Branch Timestamp Parent
michael_keiluweit michael_keiluweit master 2026-08-25 04:08 master 9a19a2ea
Affected Issues  0037355: Message-ID of a submit notification is inherited by subsequent notifications for unrelated issues
Changeset

Clear PHPMailer Message-ID between messages

A single PHPMailer instance is reused for all messages sent within a
process, but reset() did not clear the MessageID property. Since only
notifications for newly submitted issues set a Message-ID, every
subsequent message inherited the value, so notifications for unrelated
issues were sent under an identical Message-ID.

An empty MessageID is the PHPMailer default and makes it generate a
unique one per message. Threading is unaffected, In-Reply-To is added as
a custom header and already cleared.

Fixes 0037355

mod - core/classes/EmailSenderPhpMailer.class.php Diff File