[rt-users] Custom Scrip that sometimes emails?

Ruslan Zakirov ruz at bestpractical.com
Mon Jan 16 10:00:50 EST 2012


On Mon, Jan 16, 2012 at 07:35, John Hascall <john at iastate.edu> wrote:
>
>
> I have a custom scrip that does quite a lot of parsing of
> the content of an incoming email during ticket creation.
>
> Now I've been asked that under certain circumstances,
> determined by what it finds/doesn't find in the email,
> this scrip also send an email (to the requestor as
> well as possibly to an email address found in the
> message).
>
> I'm guessing this can't be that hard to do, but I've
> read the "RT Essentials" book and google'd everything
> I can think of to no avail.
>
> Does anyone know how to do this?

Use second scrip that emails with Notify* actions. Probably your
parser also updates ticket with info it found, so you can create
condition that finds required situation.

There are a few alternatives, but above is the right abstraction of
code and maintainable solution.

> (it's RT 3.8.1 if that matters)
>
> Thanks,
> John
> --------
> RT Training Sessions (http://bestpractical.com/services/training.html)
> * Boston  March 5 & 6, 2012



-- 
Best regards, Ruslan.



More information about the rt-users mailing list