collective.contentrules.mailtogroup

Send e-mail to groups and members defined in the action.


Keywords
plone, automatic, content, rules
License
GPL-3.0
Install
pip install collective.contentrules.mailtogroup==1.6.3

Documentation

Travis CI badge

Coveralls badge

Downloads

Introduction

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.

Disclaimer

The variable ${namedirectory} for an item's parent folder name, and the variable ${text} for an item's body text field, won't be substituted anymore since version 1.5, due to an unintentional breaking commit introducing the regressions which haven't been restored since then.

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.

Installation

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.

Usage

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.

Future

This add-on has been approved for inclusion in the core of Plone. When that happens, independent development of it might cease.

Credits

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.