I'm trying to send an email to members of the IT group when a ticket is 
created.  The IT group has 4 members.  All 4 members are watchers on the 
default queue, the only queue.  My Template is:

To: { my $group = RT::Group->new( $RT::SystemUser ); 
$group->LoadUserDefinedGroup("IT"); $group>MemberEmailAddressesAsString; }

 RT-Attach-Message: yes
 
 A new ticket was created in the {$Ticket->QueueObj->Name} queue.
 
  Subject: {$Transaction->Subject || $Ticket->Subject || "(No subject given)"}
  Requestors: {$Ticket->RequestorAddresses}
  Ticket <URL: {$RT::WebURL}Ticket/Display.html?id={$Ticket->id} >
 
 {$Transaction->Content()}
 

But the log reports that it can't find any recipients:

[Thu Mar 21 15:31:33 2013] [info]: 
<[email protected]> #116/798 - Scrip 4 On 
Create Notify Everyone (/opt/rt4/sbin/../lib/RT/Action/SendEmail.pm:285)
[Thu Mar 21 15:31:33 2013] [info]: 
<[email protected]> No recipients found. Not 
sending. (/opt/rt4/sbin/../lib/RT/Interface/Email.pm:385)

I'd really appreciate any help anyone can offer.
 

Reply via email to