Skip to main content

Flexible mail content rule

Project description

Introduction

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.

Changelog

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

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.mail-0.4.tar.gz (16.0 kB view details)

Uploaded Source

File details

Details for the file collective.contentrules.mail-0.4.tar.gz.

File metadata

File hashes

Hashes for collective.contentrules.mail-0.4.tar.gz
Algorithm Hash digest
SHA256 ac6c10dd3211c822c073f7ad1c7dbda1c3eab8a87954922ebd7edf8a4eb372fb
MD5 cbfcc2c06fac4d5ab75a111b9439d2c1
BLAKE2b-256 44048cb73f1226b7b415a73ba1815d734f01b9058b936511688e9174e4899bb4

See more details on using hashes here.

Supported by

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