[rt-users] Customizing a scrip to prevent too many mails
Ruslan U. Zakirov
cubic at acronis.ru
Wed Sep 8 10:18:36 EDT 2004
As far as I know if you use one notify action then module will sent only
one mail to the recipient.
Then you can add record to DB that represent action 'Notify Owner and
AdminCc'.
Table: ScripActions
Fields:
ExecModule: Notify (or NotifyAsComment)
Argument: Owner,AdminCc
Other fields fill as you wish(see other records in table as examples).
Best regards. Ruslan.
Danie Marais wrote:
> Hi list,
>
> I have a scrip to notify the owner of any correspondence. But the owner
> is always an AdminCC as well since they watch all activity in the
> queue. So he ends up getting two mails when a requestor sends
> correspondence.
>
> How can I prevent that? I was thinking of a custom condition in the
> scip sending emails to the AdminCC watchers to check if the owner is one
> of the AdminCC's, then remove him from the recipient list. Or something
> to that effect?
>
> Regards,
> Danie
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Be sure to check out the RT wiki at http://wiki.bestpractical.com
More information about the rt-users
mailing list