[rt-users] Scrip Action to mail all members of arbitrary group?

Ruslan Zakirov ruslan.zakirov at gmail.com
Fri Jun 23 01:32:20 EDT 2006


http://search.cpan.org/~ruz/RT-Action-NotifyGroup

On 6/22/06, Phil Davis <pmdhazy at gmail.com> wrote:
> Despite looking I cannot find an existing example of how to create a
> Scrip Action that simply emails all members in an arbitrary group.
>
> I want to just email a group of users on ticket creation just like
> AdminCc watchers get but without the other implication of being an
> AdminCc (such as emails on other events).
>
> i.e. I want something like:
>
> @recipients = GetEmailsForGroupCalled("MyGroupName");
>
> and then munge @recipients into something suitable for template
>
> Also how do you pass arbitray data to a Scrip Action - do you just set
> it up in the pre-conditions for the Scrip?
>
> Has anyone done this sort of thing before?
>
> Cheers,
>
> --
> Phil Davis
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>
>
> We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html
>


-- 
Best regards, Ruslan.



More information about the rt-users mailing list