Setting Different Subjects for differnent queues

It doesn’t seem possible to change the original subject tag (with the
company name) in the templates. How can I set variable subjects for each
queue? This would make organization much more easy for internal use and
would be more informative for customers when it comes to auto-replies and
notifications.

Nathanial Swallen
Billing Admin

iNode / Qualmax

<Yahoo Search - Web Search
C+OR+97401&country=us> 488 Lincoln St.
Eugene, OR 97401

mailto:nathan@inode-x.com nathan@inode-x.com

tel:
mobile:

541-868-2904
541-579-1054

http://www.plaxo.com/signature Want a signature like this?

Nathan,
I wanted a similar effect. This file will alter the ‘tag’ to be
rt_name:Queue_name … In my case, that becomes things like
ISP:NS_Support or ISP:NS_Admin

I then use the RT_SiteConfig.pm to set a new SubjectRegex such as:
Set($EmailSubjectTagRegex, qr/ISP:\w+/ );

Change the "ISP" in the above to match to your current $rt_name (I 

could have used $rt_name, but I hacked it for me :stuck_out_tongue: :slight_smile: try it and it
might make it all transparent for you… ).
The SendEmail_Local.pm file I actually picked up through an old
install of RTx::Foundry - So compliments to the original author there
who let me stumble upon this ‘trick’.

Add the attached file into /opt/rt3/local/lib/RT/Action 

If you want to alter it further, it is fairly straight forward to 

look in the attached file to see how its built.

The advantage of doing it this way is its a clean 'overlay' that 

will work when you upgrade RT… the SendMail_Local just overwrites the
specific function it needs too. I had this working for 3.4.X and now use
it in my current 3.5.5 install.

Hope this helps

Adrian

Nathanial Swallen wrote:

It doesn’t seem possible to change the original subject tag (with the
company name) in the templates. How can I set variable subjects for
each queue? This would make organization much more easy for internal
use and would be more informative for customers when it comes to
auto-replies and notifications.

Nathanial Swallen
/Billing Admin/

iNode / Qualmax
488 Lincoln St.
Eugene, OR 97401
http://maps.yahoo.com/py/maps.py?Pyt=Tmap&addr=488+Lincoln+St.&csz=Eugene%2C+OR+97401&country=us

nathan@inode-x.com mailto:nathan@inode-x.com

tel:
mobile:

541-868-2904
541-579-1054

/Want a signature like this?/ http://www.plaxo.com/signature



The rt-users Archives

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

Download a free sample chapter of RT Essentials from O’Reilly Media at http://rtbook.bestpractical.com

WE’RE COMING TO YOUR TOWN SOON - RT Training in Amsterdam, Boston and
San Francisco - Find out more at http://bestpractical.com/services/training.html

Adrian Carter
Technical Manager
Leading Edge Internet

Web http://www.lei.net.au http://support.lei.net.au
Direct +61 2 6163 6162 Support 1 300 662 415
E-mail cartera@lei.net.au

SendEmail_Local.pm (747 Bytes)