Ok, as a simple test, I made a custom template for correspondence named
Correspondence High Priority:
--
RT-Attach-Message: yes
X-Priority: 1 (Highest)
X-MSMail-Priority: High
{$Transaction->Content()}
--
Basically, I copied the "Correspondence" template and added the 2 X-priority
lines.
I added a custom scrip to my test queue to use the above template on
correspondence:
On Correspond Notify AdminCCs Correspondence High Priority
However, it doesn't set the flag. When I view the headers, I don't see the 2
lines at all. It's as if RT is stripping them off or not including them.
I do know the 2 lines will work to set the flag though, because I tested this
outside of RT by constructing an email with the 2 lines-- and it worked.
If I have other default scrips, such as "On Correspond Notify AdminCCs
Correspondence", could that be taking priority and ignoring my custom scrip?
Here are the relevant headers I received from the above test, which do not
include the missing desired header lines:
==
Subject: [rt.foo.com #4142] test of priority
From: "root via RT" <[email protected]>
Reply-To: [email protected]
In-Reply-To: <[email protected]>
References: <[email protected]> <[email protected]>
Message-ID: <[email protected]>
Precedence: bulk
X-RT-Loop-Prevention: rt.foo.com
RT-Ticket: rt.foo.com #4142
Managed-by: RT 3.8.8 (http://www.bestpractical.com/rt/)
RT-Originator: [email protected]
To: [email protected]
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
Date: Wed, 15 Aug 2012 16:13:46 +0000
X-Scanned-By: MIMEDefang 2.56 on 192.81.123.24
Return-Path: [email protected]
X-OriginalArrivalTime: 15 Aug 2012 16:13:48.0488 (UTC)
FILETIME=[F3D87C80:01CD7B00] Wed Aug 15 16:13:46 2012: Request 4142 was acted
upon.