[rt-users] Desperately need help identifying Email CC object

2009-05-21 Thread Ken Crocker
List, I've copied the code that RT uses to get the Email address of CC's and add them as ticket watchers. When I HARD-CODE the Emaill address, it works fine. The ticket has several CC Watchers. However, I'm having trouble getting the actual CC Address ID's from the incoming Email. In my

Re: [rt-users] Desperately need help identifying Email CC object

2009-05-21 Thread Ruslan Zakirov
my @user_ids; my $users = $ticket-Cc-UserMembersObj; while ( my $user = $users-Next ) { push @user_ids, $user-id; } On Thu, May 21, 2009 at 10:50 PM, Ken Crocker kfcroc...@lbl.gov wrote: List,    I've copied the code that RT uses to get the Email address of CC's and add them as ticket

Re: [rt-users] Desperately need help identifying Email CC object

2009-05-21 Thread Ken Crocker
Ruslan, Thanks. I'm not sure where to put this in my code, but I'll pass it on to my perl guy and I'm sure we'll get this going. Thanks again. Kenn LBNL On 5/21/2009 12:49 PM, Ruslan Zakirov wrote: my @user_ids; my $users = $ticket-Cc-UserMembersObj; while ( my $user = $users-Next ) {

Re: [rt-users] Desperately need help identifying Email CC object

2009-05-21 Thread Ken Crocker
Ruslan, I turned on the log for my test and when I sent an email to the Queue, this was the resulting message for my scrip: [Thu May 21 20:16:51 2009] [error]: Scrip 50645 Commit failed: RT::Ticket::Attachments Unimplemented in RT::Action::UserDefined. ((eval 461) line 6). I've not

Re: [rt-users] Desperately need help identifying Email CC object

2009-05-21 Thread Ruslan Zakirov
There is no attachments on a ticket, but transactions that have attachments. http://wiki.bestpractical.com/view/AddAttachmentLinksToMail On Fri, May 22, 2009 at 12:23 AM, Ken Crocker kfcroc...@lbl.gov wrote: Ruslan,     I turned on the log for my test and when I sent an email to the Queue,