Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Flexible mail content rule

Project Description


This package provides an extended content rule “mail” action with many more variable substitutions available, including the name and email address of the content owner, making it possible to email the owner of a piece of content.

It is also possible to provide new “replacers” by writing an interface with an associated adapter and registering a new IMailModel utility. The user is able to pick the replacer to use on the action edit form.


0.7 (2016-03-17)

0.6 (2012-02-23)

  • Remove an extra From header when calling mailhost.secureSend() [dimboo]

0.5 - 2011-05-20

  • Added an exception in IVocabularyFactory import for Plone >= 4.1. [lepri]

0.4 - 2009-09-06

  • Avoid a site error if the mail cannot be sent, e.g. because the mail server is down. [optilude]
  • Avoid throwing an exception on encoded strings in the replacer. [optilude]
  • Caught workflow exception when trying to get state on object without any workflow. [tiazma]
  • Added cc and bcc fields to IMailAction enabling the use of these fields in mail messages [erico_andrei]
  • Added new variables to IMailReplacer so it is possible to send emails to users with other roles than owner on the object [erico_andrei]
  • Made sure Archetypes content implements IDublinCore (It’s not the default behavior until AT 1.5.10) [erico_andrei]
  • Correct action mail fail on try to replace bcc or cc when it returns None [lucmult]

0.3 - 2009/03/24

  • Added a note in the UI about how to use variables. [optilude]
  • The ‘source’ field is not required, but would throw an error if not filled in. This is now fixed. [optilude]

0.2 - 2009/03/24

  • Made the executor fail gracefully if the content being acted upon is not adaptable to the replacer interface. [optilude]
  • Made the default replacer adapt any Dublin Core-capable content, avoiding an unnecessary dependency on Archetypes. [optilude]
  • Made the default IMailModel implementation more re-usable. [optildue]
  • Updated documentation and interface specifications. [optilude]
  • Fixes actions/configure.zcml in order to play nice with GenericSetup

0.1 - Unreleased

  • Initial release
Release History

Release History

This version
History Node


History Node


History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
collective.contentrules.mail-0.7.tar.gz (22.9 kB) Copy SHA256 Checksum SHA256 Source Mar 17, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting