If life gives you lemons, keep them-- because hey… free lemons.
From: Kevin Falcone firstname.lastname@example.org
Subject: Re: [rt-users] getting the “Resolver Name / address” into a template?
Date: Thursday, December 16, 2010, 8:21 AM
Thanks for the
note. But I’m still having problems. My goal is
relatively simple, and maybe there’s a different way.
Perhaps using the “On Resolve” with a "User Defined"
action? If I could do something like this, I would be
On Resolve, send the transaction (as long as it
includes the resolver name / email, and ticket number) to an
email address outside of RT: email@example.com.
The above will actually pipe through a perl script to
parse out what I need, modify the subject the way I want it,
and create an email to the target exactly how I want it to
Anyone have any ideas on how this could be done?
Everything you’ve described is doable using RT’s default On
Notify Requestor scrip. You just edit the
template. If you really
need to send to an external system instead, see the recent
threads on sending email to arbitrary addresses from
earlier in the
I was able to get it mostly working using the following template:
The subject still contains:
[rt.foo.com #287] Special notification via RT - Ticket Resolved
(is there a way to get the [rt.foo.com #287] from not showing up?)
Also, how would I change the “From” address? I would rather make it such that a “Reply” to the above message does not go back into RT.
In the past, I was able to modify the RT_SiteConfig.pm to change the “TO” address with the following:
Can a similar variable be set in the template itself, a $FriendlyFromLineFormat or something?