[rt-users] NotifyActor but not Requestor

Roy El-Hames rfh at pipex.net
Wed Mar 14 13:42:33 EDT 2007


I think you can with little tweaks in lib/RT/Action/Notify.pm::SetRecipients
You'll know your requesters:
my $requesters = $self->TicketObj->Requestors->MemberEmailAddresses
and you'll know your the transaction creator:
 my $creator = $self->TransactionObj->CreatorObj->EmailAddress();
So all you need to do is find out if $creator is in $requesters .. 
(can't remember how to do this but sure can't be hard)
So
if ($RT::NotifyActor) 
will change to
 if ($RT::NotifyActor && ($creator is not in $requesters) {

Good luck ;
Roy




LarsE wrote:
> Hi,
>
>
> BZ wrote:
>   
>> I found that i can have this enabling NotifyActor. But when i enable
>> this feature, customers also receives their own replies. Is that
>> possible to have NotifyActor enabled without sending notifies to
>> customers. Basically Customer == Requestor.
>>
>>     
>
> I had the same question some time ago, and the answer was
> "No, it is not possible".
>
> ciao...
> Lars
>   




More information about the rt-users mailing list