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 supplied mail action is that one can only provide fixed
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 examplary use case and reason for creation of this package is the reviewer
role. If an object in a certain location of the site is submitted for
publication, 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 in Plone 3 the place to add this functionality
was to to create a python script and attach it to the workflow submit
transition that was used for the objects.
.. Note::
This product is superceded by `collective.contentrules.mailtorole`,
which can send mail to all members having a role on the object, including
global roles.
|