[rt-users] Notify "admincc" on ticket creation only?

Jerrad Pierce jpierce at cambridgeenergyalliance.org
Thu Sep 24 19:06:12 EDT 2009


For anyone interested, here's what I have so far, and it seems to work:
OnCreate, User Defined Action...

my $org = RT->Config->Get('Organization')
foreach my $address ( grep {$_ !~ /\@\Q$org\E/}
$self->TicketObj->QueueObj->AdminCc->MemberEmailAddresses ){
$self->TicketObj->SquelchMailTo($address);
}

That will remove external AdminCcs post-auto-response.
-- 
Cambridge Energy Alliance: Save money. Save the planet.



More information about the rt-users mailing list