ctical.com
Subject: Re: [rt-users] Scrip for escalating priority based on to
address from header
At Wednesday 1/30/2008 06:06 PM, Kimberly McKinnis wrote:
>my $to =
>$self->TicketObj->Transactions->First->Message->First->GetHeader('To');
>if ($to =~/[EMAIL PR
At Wednesday 1/30/2008 06:06 PM, Kimberly McKinnis wrote:
>my $to =
>$self->TicketObj->Transactions->First->Message->First->GetHeader('To');
>if ($to =~/[EMAIL PROTECTED]/)
>{
>$self->TicketObj->SetPriority(98);
>}
>return 1;
>
>It doesn't error, but it seems to be ignored entirely. I used 'my',
Global symbol "$to" requires explicit package name at (eval
2305) line 2.
(/usr/lib/rt/RT/Action/UserDefined.pm:81)
From: Todd Chapman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 30, 2008 11:58 AM
To: Kimberly
t/RT/Action/UserDefined.pm:81)
>
> --
> *From:* Todd Chapman [mailto:[EMAIL PROTECTED]
> *Sent:* Wednesday, January 30, 2008 11:58 AM
> *To:* Kimberly McKinnis
> *Cc:* rt-users@lists.bestpractical.com
> *Subject:* Re: [rt-users] Scrip for escalati
esday, January 30, 2008 11:58 AM
To: Kimberly McKinnis
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Scrip for escalating priority based on to
address from header
Why do you have a package statement?
And $Ticket should be $self->TicketObj.
On 1/30/08, Kimberly McKinnis <
Why do you have a package statement?
And $Ticket should be $self->TicketObj.
On 1/30/08, Kimberly McKinnis <[EMAIL PROTECTED]> wrote:
>
> I've read up on priorities, but nothing I've seen quite fits my need. We
> have two email addresses that both go to the same queue, an alert email and
> a sup
I've read up on priorities, but nothing I've seen quite fits my need. We
have two email addresses that both go to the same queue, an alert email
and a support email. The alert email also SMS's my mobile phone. I'd
like to have RT check the to: address from the header and set anything
to the alert e