[rt-users] New scrip to send e-mail when Spam ticket is deleted.
Ruslan U. Zakirov
Ruslan.Zakirov at miet.ru
Fri Jul 15 11:36:28 EDT 2005
Gavin Henry wrote:
> Dear List,
>
> I have created a basic template which lists the ticket subject, saying it has
> been deleted (for when a spam e-mail gets deleted, that wasn't caught by
> Spamassassin). I want to create a scrip to trigger when I delete it and
> notify the AdminCCs.
>
> This is all fine and I can see that I need to create a "User Defined" action,
> as there is no listing for a ticket being deleted.
You need user defined condition, it should be something like:
<<<
return 1 if lc $self->TicketObj->Status eq 'deleted';
return 0;
>>>
Look on the wiki! There is more examples.
>
> What code do I reference for this, or am I missing an existing action?
>
> Thanks.
>
More information about the rt-users
mailing list