[rt-users] Removal of subject line tag
Andy Harrison
aharrison at gmail.com
Tue Dec 14 09:11:54 EST 2004
On Tue, 14 Dec 2004 10:05:40 +0100, Vassilios Ioannidis
>
> In other words, to change this (only for new incoming emails): [one_tag
> #4999] by that: [ #4999].
>
> Is this correct if I modify the RT_SiteConfig.pm file this way:
>
> # Your domain name is recommended, so as not to pollute the namespace.
> # once you start using a given tag, you should probably never change it.
> # (otherwise, mail for existing tickets won't get put in the right place
> #Set($rtname , "one_tag");
> Set($rtname , " ");
>
> (It doesn't matter for us if mail for existing tickets are not put in
> the right place,)
No, that would break other things.
IIRC, you can just update your template for the outgoing message and
give it a subject.
At the very top:
Subject: {$Transaction->Subject()}
< empty line >
...the rest of your template...
If that doesn't work, just copy <RT_DIR>/lib/RT/Action/SendEmail.pm to
<RT_DIR>/local/lib/RT/Action/SendEmail.pm and edit the SetSubjectToken
subroutine to your liking.
--
Andy Harrison
More information about the rt-users
mailing list