Package: rer.newsletter
rer.newsletterThis product allows the complete management of a newsletter.FeaturesNew Content-typeChannelTotally customizable because it is possible to set a header, a footer and CSS styles. This fields allows to uniform template of email that will be sent from one channel.content type that inherit from folder content.Messagecontent type that inherit from folder content.Portlet and TileThe product provide a portlet and a tile for user subscribe.Form for user subscribe have an email field and is protected for spam withcollective.honeypot.User ManagementAllows complete management of user.Add user from admin settingDelete user from admin settingImport users directly from CSV fileExport users directly to CSV fileDelete a group of user directly from CSV fileSubscribe usersUnsubscribe usersAdvanced FeaturesCustomize how to send your newsletterBy default, this product send all the emails through the standard plone mailer.
The actual sending mechanism is handled by an adapter (a multi-adapter):<adapter
  for="rer.newsletter.behaviors.ships.IShippableMarker
       zope.publisher.interfaces.browser.IBrowserRequest"
  provides=".base_adapter.IChannelSender"
  factory=".base_adapter.BaseAdapter"
/>To change this default activity, you can create a new Plone add-on that
register a new adapter with a more specific layer (e.g. use the browser layer
of the new add-on) and override thesendMessagemethod as you wish.rer.newsletterplugin.flaskis an example
of plugin with a custom sender. It uses an external Flask app to send emails.Advanced securityNew permissions have been added for the management of the Newsletter:rer.newsletter: Add Channelrer.newsletter: Add Messagerer.newsletter: Manage Newsletterrer.newsletter: Send NewsletterThis permission are assigned to Manager and Site Administrator. There is also
a new role,Gestore Newsletter, which has permissions for all possible
operations on newsletter.Bot protectionThis product usecollective.honeypotto prevent bot submissions.You just need to set two environment variables:EXTRA_PROTECTED_ACTIONS customer-satisfaction-addHONEYPOT_FIELD xxxxxx should be a field name that bot should compile.If you get hacked, you could simply change that variable.Subscriptions cleanupThere is a view (@@delete_expired_users) that delete all
users that not have confirmed subscription to a channel in time.You can set subscription token validity from the product’s control panel.Inside the settings of the product there is a field that allows you to set
validity time of the channel subscription token.InstallationInstall rer.newsletter by adding it to your buildout:[buildout]

...

eggs =
    rer.newsletterand then runningbin/buildoutDependenciesThis product has been tested on Plone 6 with volto integration.CreditsDeveloped with the support ofRegione Emilia Romagna;Regione Emilia Romagna supports thePloneGov initiative.AuthorsThis product was developed byRedTurtle Technologyteam.ContributorsRedTurtle Technology,sviluppoplone@redturtle.itChangelog3.0.1 (2023-09-06)newsletter subscribe and unsubscribe email templates
[pnicolli]3.0.0 (2023-08-09)release
[eikichi18]2.0.0a4 (2023-07-26)Fixed resources with module federation for Plone 6 support
[pnicolli,sabrina-bongiovanni,eikichi18]2.0.0a3 (2023-07-21)Adapt management buttons for Plone 6
[pnicolli]2.0.0a2 (2023-03-16)Updated subheader template
[pnicolli]2.0.0a1 (2023-03-14)added restapi services for Volto usagefixed results for unsubscribe serviceitalian translationremove CSRFProtection when call servicesfix email validation when mailinglist are importedusing preview_image instead of lead image in newsletter shippable collectionRemove subtitle (h4) in nl template and preview1.2.0 (2023-01-25)Remove recaptha usage in the channel subscribe form, will be used honeypot instead.
[foxtrot-dfm1]1.1.2 (2022-05-12)Improve error handling messages in massive user import.
[cekk]1.1.1 (2021-11-11)Fix encoding in unsubscribe.py.
[cekk]1.1.0 (2021-06-10)Use mail validator from portal_registration.
[cekk]1.0.7 (2021-01-28)Fix logic in delete expired users view.
[cekk]1.0.6 (2020-12-18)Handle “running” state in status table for long queues.
[cekk]1.0.5 (2020-11-25)Fix upgrade step.
[cekk]1.0.4 (2020-11-12)Fix encoding for the channel title.
[daniele]1.0.3 (2020-11-06)Handle mail not found in subscribe form.
[cekk]1.0.2 (2020-08-18)Styles for newsletter subscription modalFix cancel button moving when in error state
[nzambello]1.0.1 (2020-07-27)Remove direct dependency to collective.taskqueue.
[cekk]1.0.0 (2020-07-21)Heavy refactoring to support different send methods from adapters.
[cekk]0.4.0 (2020-04-21)Fixed subscribers import in Python3.
[daniele]Fixed RichText behavior name in types definition.
[daniele]Fix initializedModal.js to correctly support tiles loading
[nzambello]0.3.0 (2020-03-07)Python 3 compatibility.
[cekk]0.2.0 (2019-04-01)Fix initializedModal.js to support new functionality in tilesmanagement: anonymous always load a static version of tiles list.
[cekk]0.1.12 (2019-01-30)Added shippable collection.Fixed template for shippable collection.Fixed search object for channel history view.
[eikichi18]a11y: added role attribute for portalMessage
[nzambello]0.1.11 (2018-09-27)Fix ascii encode problem on site name.
[eikichi18]0.1.10 (2018-09-27)Added number of removed user on delete_expired_users view.Removed layer for delete_expired_users view.Fixed view for delete expired users.
[eikichi18]0.1.9 (2018-09-20)Fixed modal timeout
[eikichi18]0.1.8 (2018-07-19)Added Redis for asynchronous taskFixed label of close button on subscription modalAdded TranslatationFixed the way in which it takes the title of the siteAdded content rules for user subscription and unsubscription
[eikichi18]0.1.7 (2018-06-19)Fixed buildout
[eikichi18]0.1.6 (2018-06-19)Fixed some minor label
[eikichi18]0.1.5 (2018-05-25)fixed default profile in upgrade step
[eikichi18]0.1.4 (2018-05-23)upgrade step to fix bundle for initializedModal.js
[eikichi18]0.1.3 (2018-05-23)Fixed accessibility problem on subscribe/unsubscribe modal for IE.
[eikichi18]0.1.2 (2018-03-15)Fixed accessibility and style for subscribe/unsubscribe modal.
[eikichi18]0.1.1 (2018-03-02)Fixed doc.
[eikichi18]0.1.0 (2018-03-02)Initial release.
[eikichi18]