[rt-users] Setting Different Subjects for differnent queues
Adrian Carter
cartera at lei.net.au
Wed Dec 14 04:36:46 EST 2005
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 :P :) 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 at inode-x.com <mailto:nathan at inode-x.com>
>
>
>
> tel:
> mobile:
>
>
>
> 541-868-2904
> 541-579-1054
>
>
>
>
>
> /Want a signature like this?/ <http://www.plaxo.com/signature>
>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
>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 at lei.net.au
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20051214/37ee3341/attachment.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: SendEmail_Local.pm
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20051214/37ee3341/attachment.ksh>
More information about the rt-users
mailing list