On Fri, Mar 14, 2014 at 03:46:06AM -0700, jgarrett wrote: > I need to Send a notification email to a group of RT users, when a ticket is > created/raised into a specific RT queue, where the requesters email address > is NOT @aspecificdomian.com.
You can use http://bestpractical.com/docs/rt/latest/rt-email-group-admin.html to create an action that specifically emails a group you control with the custom template you provide and then you just need a user defined condition that checks that $self->TransactionObj->Type eq 'Create' and that $self->TicketObj->RequestorAddresses http://bestpractical.com/docs/rt/latest/RT/Ticket.html#RequestorAddresses returns users who don't match your problem domain. You could also just simplify your life and make a new queue and have your mail admins route mail from anything not in that domain into the other queue. Then the RT part becomes just On Create Notify Group with no code. -kevin
pgpU97QNqlUhC.pgp
Description: PGP signature
-- RT Training London, March 19-20 and Dallas May 20-21 http://bestpractical.com/training