[rt-users] Can't notify group about new ticket
Warren H. Prince
wprince at princelaw.com
Thu Mar 21 11:40:42 EDT 2013
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]: <rt-4.0.10-19257-1363879893-1009.116-4-0 at mydomain.com> #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]: <rt-4.0.10-19257-1363879893-1009.116-4-0 at mydomain.com> No recipients found. Not sending. (/opt/rt4/sbin/../lib/RT/Interface/Email.pm:385)
I'd really appreciate any help anyone can offer.
More information about the rt-users
mailing list