Whoops. I misread your email.. you said sending *to*, not from.
 
Which syntax is giving you difficulty? I use the following to determine
the To: header:
 
my $to = $self->TransactionObj->Attachments->First->GetHeader('To');

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Fixer
(Robert Smith)
Sent: Tuesday, February 05, 2008 4:48 PM
To: [email protected]
Subject: [rt-users] Changing Queue based on Incoming Email address


I can't seem to get the syntax correct for a User Defined scrip to
change queue on an existing ticket, based on which email address they
send to.  I have two queues, [EMAIL PROTECTED] and [EMAIL PROTECTED]  We have
an external database that sends emails based on where a project is in
our workflow, so we need the tickets to drift thru the queues based on
emails from the db.

Any existing scrips or extensions I might be able to look at?


-- 
Robert Smith | Post Production Manager
*:: +1.800.929.0737 x55 | +1.310.882.5584 fax
*:: [EMAIL PROTECTED] | AIM::  bigdaddyfix
*:: 6255 Sunset Blvd, 17th Floor, | Hollywood, CA, | 90028
*:: http://www.livenation.com <http://www.livenation.com/> 

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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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

Reply via email to