<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16788" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=881073813-05022009><FONT face=Arial color=#0000ff size=2>Dear
RT Developers,</FONT></SPAN></DIV>
<DIV><SPAN class=881073813-05022009><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=881073813-05022009><FONT face=Arial color=#0000ff size=2>since
a long time i have several requests from my users to have a better handling of
AdminCC and CC on queue and ticket level. By default the internal RT Action
Notify allows you only to mail to all CC's or AdminCC's but not to devide them
into Queue AdminCc's/Cc's or Ticket Admin.</FONT></SPAN></DIV>
<DIV><SPAN class=881073813-05022009><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=881073813-05022009><FONT face=Arial color=#0000ff size=2>I had
a look into the Notify.pm and got the idea to do the
following:</FONT></SPAN></DIV>
<DIV><SPAN class=881073813-05022009><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=881073813-05022009><FONT face=Arial color=#0000ff size=2>Add to
the exsisting "Rules" some like this:</FONT></SPAN></DIV>
<DIV><SPAN class=881073813-05022009><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=881073813-05022009><FONT face=Arial color=#0000ff
size=2> if ( $arg =~ /\bQueueCc\b/ ) {</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=881073813-05022009><FONT face=Arial color=#0000ff
size=2> #If we have a To, make the
Ccs, Ccs, otherwise, promote them to
To<BR> if (@To)
{<BR> push (
@Cc, $ticket->QueueObj->Cc->MemberEmailAddresses
);<BR>
}<BR> else
{<BR> push (
@To, $ticket->QueueObj->Cc->MemberEmailAddresses
);<BR> }<BR>
}</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=881073813-05022009><FONT face=Arial color=#0000ff
size=2> if ( $arg =~ /\bTicketCc\b/ ) {</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=881073813-05022009><FONT face=Arial color=#0000ff
size=2> #If we have a To, make the
Ccs, Ccs, otherwise, promote them to
To<BR> if (@To)
{<BR> push (
@Cc, $ticket->Cc->MemberEmailAddresses
);<BR>
}<BR> else
{<BR> push (
@Cc, $ticket->Cc->MemberEmailAddresses
);<BR> }<BR>
}<BR> <BR> if ( $arg =~ /\bQueueAdminCc\b/ )
{<BR> push ( @Bcc,
$ticket->QueueObj->AdminCc->MemberEmailAddresses
);<BR> }</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=881073813-05022009><FONT face=Arial color=#0000ff
size=2> if ( $arg =~ /\bTicketAdminCc\b/ )
{<BR> push ( @Bcc,
$ticket->AdminCc->MemberEmailAddresses );<BR>
}</FONT></SPAN></DIV>
<DIV><SPAN class=881073813-05022009><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=881073813-05022009><FONT face=Arial color=#0000ff size=2>and
also add some scripActions to RT DB like this:</FONT></SPAN></DIV>
<DIV><SPAN class=881073813-05022009><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=881073813-05022009><FONT face=Arial color=#0000ff size=2>INSERT
Into ScripActions(<BR> Name, Description, ExecModule, Argument, Creator,
Created, LastUpdatedBy, LastUpdated<BR>) VALUES (<BR> 'Notify TicketCcs',
'Sends mail to the Ticket Ccs', 'Notify', 'TicketCc', 1, NOW(), 1,
NOW()<BR>);</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=881073813-05022009><FONT face=Arial color=#0000ff size=2>INSERT
Into ScripActions(<BR> Name, Description, ExecModule, Argument, Creator,
Created, LastUpdatedBy, LastUpdated<BR>) VALUES (<BR> 'Notify QueueCcs',
'Sends mail to the Queue Ccs', 'Notify', 'QueueCc', 1, NOW(), 1,
NOW()<BR>);</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=881073813-05022009><FONT face=Arial color=#0000ff size=2>INSERT
Into ScripActions(<BR> Name, Description, ExecModule, Argument, Creator,
Created, LastUpdatedBy, LastUpdated<BR>) VALUES (<BR> 'Notify
QueueAdminCc', 'Sends mail to the Queue AdminCcs', 'Notify', 'QueueAdminCc', 1,
NOW(), 1, NOW()<BR>);</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=881073813-05022009><FONT face=Arial color=#0000ff size=2>INSERT
Into ScripActions(<BR> Name, Description, ExecModule, Argument, Creator,
Created, LastUpdatedBy, LastUpdated<BR>) VALUES (<BR> 'Notify
TicketAdminCcs', 'Sends mail to the Ticket Admin Ccs', 'Notify',
'TicketAdminCc', 1, NOW(), 1, NOW()<BR>);</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=881073813-05022009><FONT face=Arial color=#0000ff size=2>INSERT
Into ScripActions(<BR> Name, Description, ExecModule, Argument, Creator,
Created, LastUpdatedBy, LastUpdated<BR>) VALUES (<BR> 'Notify QueueAdminCc
and QueueCc', 'Sends mail to the Queue Admin Ccs and Queue Ccs', 'Notify',
'QueueAdminCc,QueueCc', 1, NOW(), 1, NOW()<BR>);</FONT></SPAN></DIV>
<DIV><SPAN class=881073813-05022009><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=881073813-05022009><FONT face=Arial color=#0000ff size=2>Does
it from your point of view to use this instead of the global "Mail All" Scrips?
I've tried it out and it works great so far, now
problems....</FONT></SPAN></DIV>
<DIV><SPAN class=881073813-05022009><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=881073813-05022009><FONT face=Arial color=#0000ff size=2>This
also means to replace or rebuild some global scrips and you can easily define
the mailing....much esier than scrip them all by hand.</FONT></SPAN></DIV>
<DIV><SPAN class=881073813-05022009><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=881073813-05022009><FONT face=Arial color=#0000ff size=2>Any
Ideas or comments?</FONT></SPAN></DIV>
<DIV><SPAN class=881073813-05022009><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=881073813-05022009><FONT face=Arial color=#0000ff
size=2>Torsten</FONT></SPAN></DIV><br>
<p class=MsoBodyText><span style='font-size:8.0pt;font-family:Arial'>Kühne +
Nagel (AG & Co.) KG, Geschäftsleitung: Hans-Georg Brinkmann (Vors.), Uwe <span
class=SpellE>Bielang</span> (Stellv.), Dirk Blesius (Stellv.), Bruno Mang, Alfred <span
class=SpellE>Manke</span>, Christian Marnetté (Stellv.), Mark Reinhardt (Stellv.), Jens <span
class=SpellE>Wollesen</span>, Rainer <span class=SpellE>Wunn</span>,
Sitz: Bremen, Registergericht: Bremen, HRA 21928, <span class=SpellE>USt-IdNr</span>.:
DE 812773878, Persönlich haftende Gesellschaft: Kühne & Nagel A.G., Sitz: <span
class=SpellE>Contern/Luxemburg</span>, Geschäftsführender Verwaltungsrat:
Klaus-Michael Kühne <o:p></o:p></span></p>
<br></BODY></HTML>