Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

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

Project description

Travis CI badge Coveralls badge Downloads


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.


If you want to be able to send an content-item’s body-text-field, too, you need to use version 1.3.1, as with the next version that functionality got deleted unintentionally and hasn’t been restored.


Add collective.contentrules.mailtogroup to your buildout as an egg or from source. No (generic setup) installation is necessary, the action is registered using ZCML. So do add the package to the zcml slug list of your [instance] section.


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.


Most of this package is directly copies from the action. The package collective.contentrules.mailtolocalrole was also used as an example.


1.6.2 (2018-06-19)

  • I messed up 1.6.1 and made a brown bag release. [fulv]

1.6.1 (2018-06-19)

  • Add note aboout unfixed regression. [ida]

1.6 (2016-11-08)

  • Add test case for empty recipients. [fulv]
  • Add support for Plone 5.0 and 5.1. On Plone 5.x we use z3c.form instead of formlib. [fulv]
  • Drop support for Plone 4.0, Plone 4.1 and Plone 4.2. Package may work, but we are no longer testing against these versions as Python 2.6 is no longer supported on code analysis. [hvelarde]
  • Use permission instead of cmf.ManagePortal. [fulv]

1.5 (2014-06-30)

  • Fixed tests and version numbering [kcleong]
  • Fixed source address assignment. Now doesn’t break the rule execution[cekk]
  • Enabled the use of string interpolator for string substitutions [cekk]
  • Add Brazilian Portuguese and Spanish translations. [hvelarde]
  • Fix package dependencies. [hvelarde]

1.3.1 (2013-05-03)

  • Added help-text for text-variable. [ida]
  • Added exception, if text-variable is used, but an item doesn’t have a text-field. Concerns actions/ [ida]

1.3 (2012-02-15)

  • Added fieldname ‘text’ as a substitutable variable and perform text-transformation, in order to send the message as html and as plain-text, providing a fallback for non-html-capable email-clients. [ida]
  • Add the {namedirectory} variabel. Which can be used in the subject or message to show the title of the folder the rule is applied to. [puittenbroek]
  • Add LICENSE.txt + LICENSE.GPL in /docs. [WouterVH]
  • Remove old-style i18n-directory, and register locales-folders. [WouterVH]
  • Add [WouterVH]

1.2 - 2011-04-05

  • Added z3c.autoinclude in [kcleong]
  • Using ‘send’ instead of deprecated ‘secureSend’ in Plone 4. For Plone 3 secureSend is used. [kcleong]
  • Use include for CMFCore in zcml, fixes permission bug in Plone 4.1 [puittenbroek]

1.1 - 2010-12-06

  • Fixed error when used on Plone 4: passing ‘From’ to secureSend is not needed in Plone 3 and breaks in Plone 4. [maurits]

1.0 - 2010-02-12

  • No bug changes, just marking it as final.
  • Must pin down on 1.1.8 if you’re using version 1.1.8, bug in UberMultiSelectionWidget.

Project details

Release history Release notifications

This version
History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
collective.contentrules.mailtogroup-1.6.2.tar.gz (22.3 kB) Copy SHA256 hash SHA256 Source None Jun 19, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page