This action rule allows you to send e-mail to groups and users. The groups and users are defined in the action rule, it's possible to combine both. This action was made because the current actions cannot mail to a dynamic set of users (group). Adding multiple members was also added because you don't always know the e-mail of a certain user.
The variable
If you want to use these variables, you need to pin this add-on to the preceding version (1.3.1), see installation section below.
Please refer to Plone's official documentation for installing add-ons and pinning specific add-on versions.
An activation of this add-on via a Plone site's controlpanel is not necessary, the features of this add-on will be immediately available to all Plone sites of the ZOPE instance.
Go to the Plone Control Panel, select Content Rules and add a new Rule. Under 'actions' you now have a new option: Send email to groups and users.
When searching for users and groups make sure you press the search button. Don't hit enter. Search results for these items are only shown when you press search.
This add-on has been approved for inclusion in the core of Plone. When that happens, independent development of it might cease.
Most of this package is directly copied from the plone.app.contenttules.mail action. The package collective.contentrules.mailtolocalrole was also used as an example.