Skip to main content

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)

Changelog

0.1.2 (2014-06-06)

  • changed uninstall: keep the tool object, otherwise existing templates gets removed on reinstall

  • added default template on fresh install

0.1.1 (2014-06-04)

  • fixed packaging

0.1 (2014-05-02)

  • Inital release (prototype)

  • Added uninstall profile

Contributors

Jörg Kubaile

Download

Metadata

Release files for zettwerk.mailtemplates 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zettwerk.mailtemplates 0.1.2
File Size Uploaded Provenance Actions
zettwerk.mailtemplates-0.1.2.zip 47.7 kB Without provenance Details for zettwerk.mailtemplates-0.1.2.zip

Release files / zettwerk.mailtemplates-0.1.2.zip

Download URL zettwerk.mailtemplates-0.1.2.zip
Size 47.7 kB
Tags Source
SHA-256 checksum
How to use checksums
705834a7a54fe039acd6d64929cc7293971bf7cecc4e583d3a93e1ccf472bebe
BLAKE2b-256 checksum
How to use checksums
62676ffe63b936a6dc71d7a9431dc3e0a466cb331cbb5e8301279e9caab2e2e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for zettwerk.mailtemplates 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page