• Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Minor Minor
    • email-ext-plugin
    • 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.

          [JENKINS-30817] Add option to disable In-Reply-To header

          Alex Earl added a comment -

          You should be able to remove the header via a pre-send script.

          msg.removeHeader("In-Reply-To")
          msg.removeHeader("References")

          Alex Earl added a comment - You should be able to remove the header via a pre-send script. msg.removeHeader("In-Reply-To") msg.removeHeader("References")

          Scott Weldon added a comment -

          That works great, thanks!

          Scott Weldon added a comment - That works great, thanks!

            slide_o_mix Alex Earl
            501st_alpha1 Scott Weldon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: