[rt-users] Strip the requestor

Mikal Kolbein Gule m.k.gule at usit.uio.no
Thu Jan 5 09:23:47 EST 2012


On Thu, 5 Jan 2012, Randy Black wrote:

> The obstacle of removing them one at a time in a loop, is that the 
> emails come from outside of our domain.  Not knowing these addresses 
> it's impossible to remove them before other scrips fire off.  The emails 
> back to them on create notify and other scripts, need to be completely 
> disabled.

<hint>

for ($self->TicketObj->Requestors->MemberEmailAddresses)
{
$ticket->DeleteWatcher(
  Type => 'Requestor',
  Email => $_,
  Silent => 1);
}

</hint>

Mvh,
Mikal Gule
USIT/GAP/W3D



More information about the rt-users mailing list