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 <[email protected]> wrote: > 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 seen that response before. By Unimplemented, does it mean I > have set up something? The code I put in was in the Cleanup area and ended > with a return 1; as usual. Any clues? Thanks. > > > 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 ) { > push @user_ids, $user->id; > } > > On Thu, May 21, 2009 at 10:50 PM, Ken Crocker <[email protected]> wrote: > > > 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 code, I try to identify them with: > > my @AddrObj = {$ticket->CcAddresses->id}; > > That didn't work. Then I tried: > > my @AddrObj = [%{$ticket->CcAddresses}]; > > that didn't work either. The object I try to evaluate is empty. What > am I missing? Can anyone share with me how I can capture those email > address objects so I can evaluate them and then add them to the Ticket > CC? Your help on this will be greatly appreciated. Thanks. > > > Kenn > LBNL > _______________________________________________ > 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 > > > > -- Best regards, Ruslan. _______________________________________________ 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
