Skip to main content

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

Project description

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.

Installation

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.

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.

UberMultiSelectionWidget

This content rule uses the UberMultiSelectionWidget from plone.app.form. This widget is broken in version 1.1.7 of plone.app.form. Plone 3.3.4 has this version.

As of version 1.1.8 the widget is working again. To use the correct version pin down plone.app.form:

[versions] … plone.app.form = 1.1.8

Credits

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

Changelog

1.1 (unreleased)

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

  • Added z3c.autoinclude in setup.py [kcleong]

  • Using ‘send’ instead of deprecated ‘secureSend’ in Plone 4. For Plone 3 secureSend is used. [kcleong]

1.0 (2010-02-12)

  • No bug changes, just marking it as final.

  • Must pin down plone.app.form on 1.1.8 if you’re using version 1.1.8, bug in UberMultiSelectionWidget.

Project details


Download files

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

Source Distribution

collective.contentrules.mailtogroup-1.1.tar.gz (8.5 kB view details)

Uploaded Source

File details

Details for the file collective.contentrules.mailtogroup-1.1.tar.gz.

File metadata

File hashes

Hashes for collective.contentrules.mailtogroup-1.1.tar.gz
Algorithm Hash digest
SHA256 f02be9f664fd33c910ff9d36aeaa7d27b2cd870ed6865f745d5fed72445372b9
MD5 ffddb1a011dd8c509ef5504396a8343b
BLAKE2b-256 df4b50e445f88ee42989efe5d0689a0e98610eb4c5f1e81f14330b9b08b6c17f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page