Skip to main content

This is a plugin for rer.newsletter that moves outside from Plone the task for sending emails.

It is made to work with rer.newsletterdispatcher.flask natively, but can work with every endpoint that exposes the same route and replies in the same way.

The main problem having mail dispatcher into Plone, is that this task can take a lot of time (we have some cases with 70000 subscriptions) and block the instance for a large amount of time slowing down the site and cause also some conflict errors.

Features

This product register a new adapter for IChannelSender that overrides some basic rer.newsletter methods and send to an external endpoint all informations to send the newsletter.

This process is asyncronous, so the channel history will be updated only when the endpoint calls the site with the status of the task.

External endpoint address

You can set the endpoint address into Plone’s registry searching for “flask” entry or going directly here: http://your_plone_site/portal_registry/edit/rer.newsletterplugin.flask.interfaces.INewsletterPluginFlaskSettings.queue_endpoint

If the addesss is not set, the newsletter will not be send.

Completed task notification

When the external process finish its job (succesfully or with an error), calls a plone.restapi endpoint (‘@send-done’) registered for newsletter Channels to update the channel about the status of that job.

Translations

This product has been translated into

  • Italian

Installation

Install rer.newsletterplugin.flask by adding it to your buildout:

[buildout]

...

eggs =
    rer.newsletterplugin.flask

and then running bin/buildout

Contribute

License

The project is licensed under the GPLv2.

Credits

Developed with the support of Regione Emilia Romagna;

Regione Emilia Romagna supports the PloneGov initiative.

Authors

This product was developed by RedTurtle Technology team.

RedTurtle Technology Site

Contributors

Changelog

0.2.1 (2024-06-13)

  • Fix styles in send notification for managers. [cekk]

0.2.0 (2024-05-24)

  • Fix volto support. [cekk]

0.1.1 (2024-05-04)

  • Fix python version for Plone6. [cekk]

0.1.0 (2020-07-21)

  • Initial release. [cekk]

Release files for rer.newsletterplugin.flask 0.2.1

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

Source distribution (sdist)

Source distribution for rer.newsletterplugin.flask 0.2.1
File Size Uploaded
rer.newsletterplugin.flask-0.2.1.tar.gz 66.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rer.newsletterplugin.flask 0.2.1
File Interpreter ABI Platform
rer.newsletterplugin.flask-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 103.4 kB

Release files / rer.newsletterplugin.flask-0.2.1.tar.gz

Download URL rer.newsletterplugin.flask-0.2.1.tar.gz
Size 66.5 kB
Tags Source
SHA-256 checksum
How to use checksums
774c6ccd34043952c67abd888c4fa6817750cc0a1a029b4cacfa1ef7be4e8a00
BLAKE2b-256 checksum
How to use checksums
e2863331a1d002acc39949586703df1bc8b3428703f3cd97b17c7421af3faea7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Release files / rer.newsletterplugin.flask-0.2.1-py3-none-any.whl

Download URL rer.newsletterplugin.flask-0.2.1-py3-none-any.whl
Size 36.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9176101447e6729b2b5a29475261d4d04434331605d8118287c0898546bb5949
BLAKE2b-256 checksum
How to use checksums
0ff7b6eb4a0e21e6b371cace62007d27b5f318798eb17544c3ab90713edf65b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

1 release file

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