<div dir="ltr">Extend RT::Action::Notify to support "Notify ticket adminccs". I think it was discussed recently.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Apr 13, 2013 at 3:53 AM, John Kelsh <span dir="ltr"><<a href="mailto:jkelsh@netspot.com.au" target="_blank">jkelsh@netspot.com.au</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Alternately, is there any other way to stop a subset of the new ticket notifications being sent to Queue AdminCc's?<br>

<br>
Thanks,<div class="HOEnZb"><div class="h5"><br>
<br>
On 11/04/13 12:45 AM, John Kelsh wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi All,<br>
<br>
I've setup the following scrip to squelch Queue AdminCc's where the<br>
requestor matches a pattern. The scrip seems to be functioning correctly<br>
yet correspondence is still being sent to Queue AdminCc's.<br>
<br>
Is anyone able to shed some light on where I'm going wrong here.<br>
<br>
Thanks,<br>
<br>
<br>
my $requestor = $self->TicketObj-><u></u>RequestorAddresses;<br>
my $pattern = 'somepattern';<br>
<br>
if ( $requestor =~ m/$pattern/ ) {<br>
     $RT::Logger->info( 'Requestor Address: '.$requestor.' matches<br>
regex: '.$pattern.' squelching output to AdminCc\'s' );<br>
     my @admincc = split( ', ',<br>
$self->TicketObj->QueueObj-><u></u>AdminCcAddresses );<br>
<br>
     foreach ( @admincc ) {<br>
         $self->TicketObj-><u></u>SquelchMailTo( $_ );<br>
         $RT::Logger->info( 'Squelched email to: '.$_ );<br>
     }<br>
}<br>
<br>
return 1;<br>
</blockquote>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Best regards, Ruslan.
</div>