Using content rules (available since Plone 3) it's very easy to register for
certain events and perform actions upon occurrence. One of these actions
provided by Plone 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 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.
|