Skip to main content

Create and send mail templates in plone.

Project description

Introduction

Create mail templates in plone.

If you want to send emails out of plone, you need to create a custom template or method. With this extension it is possible to create mail templates and send them without the need of programming. Nevertheless there is an api to send such created templates by code. For choosing the recipients you can filter by users or groups. In addition there are also extensible user filter, queried through the zca.

Installation

Add zettwerk.mailtemplates to your buildout eggs:

eggs = ..
       zettwerk.mailtemplates

After running buildout and starting the instance, you can install Zettwerk Mailtemplates via portal_quickinstaller to your instance.

Use-Case

Go to the plone configuration and click on the Zettwerk Mailtemplates link, listed under the custom extensions. Use plone’s add menu to add a template. Enter a title (which results in the mail subject) and a mail body text. Also set the template-id.

Click on “portal_mail_templates” on the breadcrumb. Now you can filter the recipients by username or group selection. Try the simulate button the get a list of the selected recipients. Hit the send button to send the mail(s).

By filtering a group, you can provide an additional filter. These are registered utilities for zettwerk.mailtemplates.interfaces.IMessageTemplateUserFilter - see the configure.zcml and the utility with the name “registration_reminder” for an example. This on returns only users which have never logged in to your plone site.

Todos

Tests and api documentation needed. Also add the ability to override plone’s default mail templates (registration, forgot password) Change history **********

Changelog

0.1.1 (2014-06-04)

  • Fixed packaging

0.1 (2014-05-02)

  • Inital release (prototype)

  • Added uninstall profile

Contributors

Jörg Kubaile

Download

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

zettwerk.mailtemplates-0.1.1.zip (47.5 kB view details)

Uploaded Source

File details

Details for the file zettwerk.mailtemplates-0.1.1.zip.

File metadata

File hashes

Hashes for zettwerk.mailtemplates-0.1.1.zip
Algorithm Hash digest
SHA256 74699b48a7df52e5ac034edb2c2cd322e3fdd418c2b11adcfacbac0789ae839c
MD5 c23fdb4b254d57b16d20b7fee0df86a0
BLAKE2b-256 379fa439e1c0c38b83c4cae23aab04ebde676468bf95e03faf942bc0ad78aa4a

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