On Mon, Feb 22, 2010 at 03:25:33PM +0100, polloxx wrote:
> if ($self->TicketObj->RequestorAddresses =~ /pollo...@gmail\.com/){
>   $self->TicketObj->SetQueue("Gmail");
>   return(1);
> }

What happens when you check the return values of SetQueue?
You'll get two values, a $value and a $msg if $value is 0, the $msg
will contain the error.

You may also need to make your scrip TransactionBatch, but you should
always check return values.

-kevin

Attachment: pgpSOgkEhPOxv.pgp
Description: PGP signature

_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [email protected]

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22 & 23
Dublin, Ireland - Mar 15 & 16
Boston, MA, USA - April 5 & 6
Washington DC, USA - Oct 25 & 26

Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Reply via email to