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.
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.
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.
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.
This product has been translated into
- Italian
Install rer.newsletterplugin.flask by adding it to your buildout:
[buildout] ... eggs = rer.newsletterplugin.flask
and then running bin/buildout
- Issue Tracker: https://github.com/RegioneER/rer.newsletterdispatcher.flask/issues
- Source Code: https://github.com/RegioneER/rer.newsletterdispatcher.flask
The project is licensed under the GPLv2.
Developed with the support of Regione Emilia Romagna;
Regione Emilia Romagna supports the PloneGov initiative.
This product was developed by RedTurtle Technology team.