[rt-users] Squelching autoreply to specific requestors

Jerrad Pierce jpierce at cambridgeenergyalliance.org
Fri Oct 9 16:21:46 EDT 2009


> I've done my googling, digging through perldocs, the wiki, the list archive,
> the RT Essentials book but haven't figured out how to do this.  I want to
> send auto-replies to all users when new tickets are created except for a few
> specific users who have requested NOT to receive such responses.  I figured
> the easiest way to do this was to add a custom action preparation code to
> the default autoreply on create scrip checking the requestor email like so:
> return 0 if $self->TicketObj->RequestorAddresses() =~ 'acoco at i2c.com';
See also my recent post, and contribution to the wiki on not copying users
outside of the domain after the initial response. You ought to be able to adapt
it to suit your needs.

-- 
Cambridge Energy Alliance: Save money. Save the planet.



More information about the rt-users mailing list