collective.contentrules.mailtolocalrole (1.2)
- collective.contentrules.mailtolocalrole download link: http://plone.org/products/collective-contentrules-mailtolocalrole/releases
- Homepage of collective.contentrules.mailtolocalrole: http://plone.org/products/collective-contentrules-mailtolocalrole
- collective.contentrules.mailtolocalrole repository: http://svn.plone.org/svn/collective/collective.contentrules.mailtolocalrole
- Description source: http://svn.plone.org/svn/collective/collective.contentrules.mailtolocalrole/trunk/README.txt
Using content rules in Plone 3 it's very easy to register for
certain events and perform actions upon occurrence. One of these
actions provided by Plone 3 is a mail action.
A limitation in
the default mail action is that one can only provide a fixed number of
email addresses. But sometimes you'd like to send an email to a user
having a certain role on the object that was involved in triggering the
content rule.
An obvious use case and motivation for creation of this package is the reviewer role. If an object in a certain location of the site is created, you would like to inform the user that has the 'reviewer' role on this area of the site that a new document/object is available for review. Before contentrules was available you would have had to create a python script and attach it to the workflow of the content types involved.
This package adds a new action 'Send email to users with local role' in the content rules editing page. You can select a local role available in the site and select if acquired roles should also be considered'. The e-mail address is taken from the user in the site.