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.
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.
To administer various Simplenews settings go to Configuration > Web services > Newsletter > Settings (/admin/config/services/simplenews/settings
).
Add or edit newsletter categories on Configuration > Web services > Newsletter (/admin/config/services/simplenews
).
By default Simplenews creates a new Simplenews newsletter
content type, however you can enable any other content type to use as a newsletter on Structure > Content types > content type> Configure > Publishing settings > Use as simplenews newsletter.
To enable Simplenews subscription blocks go to Structure > Layouts and choose a layout. Most probably you want to place subscription blocks on Home page or Default layouts. Choose a layout region where you want to place a Simplenews block, click on "Add block" and choose one of Newsletter: your website newsletter
or Newsletter: Multi Subscription
.
With the Simplenews block users can subscribe to a newsletter. Enable a Simplenews block per Newsletter category on Configuration > Web services Newsletters page.
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.
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
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!).
A subscription page is available at: /newsletter/subscriptions
The Elysia Cron module (https://backdropcms.org/project/elysia_cron) can be used to start the simplenews cron hook more often than others, so that newsletter are sent faster without decreasing site performance due to long-running cron hooks.
As discussed on https://github.com/backdrop-contrib/simplenews/issues/16#issuecomment-1364366461 there is no currently an upgrade path from Drupal 7.
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
Simplenews is ported and supported by Backdrop Professionals at AltaGrade (https://www.altagrade.com):