Actually, I will modify that comment slightly. The effect was to stop RT from sending mail out, so it appeared to break something.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Chapman Sent: Thursday, 3 August 2006 10:34 AM To: [email protected] Subject: RE: [rt-users] Enabling CC to task owner only Doesn't work me, I'm afraid. Below are the edits I tried in Notify.pm #Strip the sender out of the To, Cc and AdminCc and set the # recipients fields used to build the message by the superclass. # unless a flag is set if ($RT::NotifyActor or ($creator eq '[EMAIL PROTECTED]')) { @{ $self->{'To'} } = @To; @{ $self->{'Cc'} } = @Cc; @{ $self->{'Bcc'} } = @Bcc; } else { # @{ $self->{'To'} } = grep ( lc $_ ne lc $creator, @To ); # @{ $self->{'Cc'} } = grep ( lc $_ ne lc $creator, @Cc ); # @{ $self->{'Bcc'} } = grep ( lc $_ ne lc $creator, @Bcc ); } First I tried adding the $creator eq line you suggested, then I tried commenting out the elements in the else part of the statement. But there appeared to be no effect. The Notify.pm file is located at opt/rt3/lib/RT/Action/Notify.pm -----Original Message----- THis is controlled in lib/RT/Action/Notify.pm. The method is SetRecipients. Turn $NotifyActor off and make the if look something like: if ( $RT::NotifyActor or $creator eq '[EMAIL PROTECTED]' ) { Always test outside of production. :) _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: [EMAIL PROTECTED] Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: [EMAIL PROTECTED] Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
