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.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

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

Uploaded Source

File details

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

File metadata

File hashes

Hashes for collective.contentrules.mail-0.7.tar.gz
Algorithm Hash digest
SHA256 09e76456e90103f0a31635d7dd6b23b6dcf45e37f23cb242a168d6c9a19e5132
MD5 b58e981c8566507d50584c373ef73929
BLAKE2b-256 5fd420b2a2a2928a872a4ceedde480374754498d1ce40765bb402ba559efa182

See more details on using hashes here.

Supported by

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