backdrop-contrib / simplenews

BackdropCMS port of the Simplenews module for Drupal 7
GNU General Public License v2.0
1 stars 3 forks source link

Description

Simplenews publishes and sends newsletters to lists of subscribers. Both anonymous and authenticated users can opt-in to different mailing lists. HTML email can be sent by adding Mime mail module.

Requirements

Installation

You can install the module through your Backdrop website's user interface per instructions on https://backdropcms.org/guide/modules or by simply running the drush en simplenews command on command line.

Configuration

Usage

  1. ENABLE SIMPLENEWS BLOCK

With the Simplenews block users can subscribe to a newsletter. Enable a Simplenews block per Newsletter category on Configuration > Web services Newsletters page.

  1. SEND MAILING LISTS

Cron is required to send large mailing lists. If you have a medium or large size mailing list (i.e. more than 500 subscribers) always use cron to send the newsletters.

To use cron:

Don't use cron:

All newsletters will be sent immediately when saving the node. If not all emails can be sent within the available php execution time, the remainder will be sent by cron. Therefore ALWAYS enable cron.

These settings are found on the Newsletter Settings page under 'Send mail' options at Administer > Configuration > Web Services > Newsletters > Settings > Send mail.

  1. (UN)SUBSCRIBE CONFIRMATION

By default the unsubscribe link will direct the user to a confirmation page. Upon confirmation the user is directed to the home page, where a message will be displayed. On the Simplenews subscription admin page you can specify an alternative destination page: Configuration > Web Services > Newsletters > edit newsletter category > Subscription settings

To skip the confirmation page you can add parameters to the subscription URL. Example: [simplenews-subscribe-url]/ok

When an alternative destination page has been defined the extra parameters will be added to the destination URL. Example: [simplenews-subscriber:subscribe-url]/ok Destination: node/123 Destination URL: node/123/ok

  1. SINGLE OR DOUBLE OPT-IN AND OPT-OUT

Every newsletter can be set to be double opt-in/out (default), single opt-in/out, or hidden.

Double: A confirmation email is sent to confirm the (un)subscribe action. No confirmation is sent when a user is (un)subscribed by the administrator or when the user subscribes when creating an account. Single: No confirmation email is sent. (un)subscribe is immediately. Hidden: The newsletter is not listed in newsletter lists. Use this for mandatory newsletters. Only administrators or modules can add a user to this mailing list.

Note that single opt-in/out or hidden (forced) subscription is in some countries forbidden by law.

SECURITY NOTICE: a newsletter set to be single opt-in or opt-out is vulnerable to Cross Site Request Forgeries. Email addresses may be (un)subscribed without a notice. Do not use this setting in uncontrolled environments (like the internet!).

  1. TIPS

Related modules

Known-issues

As discussed on https://github.com/backdrop-contrib/simplenews/issues/16#issuecomment-1364366461 there is no currently an upgrade path from Drupal 7.

Credits

This module is based on the Simplenews module for Drupal, originally written and maintained by a large number of contributors, including:

Berdir https://www.drupal.org/u/berdir miro_dietiker https://www.drupal.org/u/miro_dietiker Simon Georges https://www.drupal.org/u/simon-georges Sutharsan https://www.drupal.org/u/sutharsan AlexisWilke https://www.drupal.org/u/alexiswilke

Current maintainers

Simplenews is ported and supported by Backdrop Professionals at AltaGrade (https://www.altagrade.com):