Removal of subject line tag

Hello,

when RT was first installed one year ago, it has been decided to use a
specific tag (“our_tag”).
However, I was wondering whether it would be possible to remove the tag
appearing in the subject line of the emails leaving only the “#” and
the number in between the square brackets ? (not to modify it just to
remove it).

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,)

thanks,

Vassilios

RT 3.0.11
MySQL 4.0.18
PERL 5.8.3
(SOLARIS)

Vassilios Ioannidis, Ph.D.
Swiss Institute of Bioinformatics
EMBnet - Swiss node / 155, chemin des Boveresses, CH-1066 Epalinges,
Switzerland / tel: +41 21 692 5991 fax: +41 21 692 5945
ExPASy / CMU -1, rue Michel Servet, CH-1211 Geneva 4 Switzerland / tel:
+41 22 379 5050 fax: +41 22 379 5858

Vassilios.Ioannidis@isb-sib.ch
http://www.ch.embnet.org
http://www.expasy.org
http://www.isb-sib.ch

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:
< 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