-
Improvement
-
Resolution: Won't Do
-
Minor
-
None
I would like to request that an option be added to disable the In-Reply-To header. I see that this headers was added in response to issue 3089, and the relevant section of code can be found here.
My use case: my company uses ZenDesk to track issues, and we have Jenkins set up to send email notifications after every build. Since we generally already have a ticket open for that task, we merge the newly-created ticket into the original ticket. If that original ticket was requested by a client, and not an internal user, then any updates that Jenkins sends ("Still Failing", "Fixed", etc.) will also be sent to the client, which we would prefer to avoid. If there was an option to disable the In-Reply-To header, that would fix this issue.
You should be able to remove the header via a pre-send script.
msg.removeHeader("In-Reply-To")
msg.removeHeader("References")