Custom headers in outbound mail

We’d like to add another header in outbound emails from RT to indicate the name of the queue. eg X-RT-Queue.

Is there any way to do this other than modifying the source (making upgrading a mess), or modifying each and every one of the templates?


So that you’re not modifying core code, you can create a local overlay of the file and just overlay one sub routine from that file.

If you create the file:

You can then add the package RT::Action::SendEmail; and overlay an existing subroutine that gets called like SetRTSpecialHeaders and add your code to include the custom header