Simplenews filter

This project is not covered by Drupal’s security advisory policy.

The Simplenews module lacks a way to dynamically filter lists of subscribers for newsletters. This module hopes to remedy that by using Views as filters.

Simplenews filter allows you to select any view of type simplenews_subscriber on which to filter newsletter subscriptions against. The recipients must already be subscribed to the newsletter.

If the selected view has exposed filters, they will be loaded on the newsletter's send page via AJAX and can be modified to alter the view's results. When the newsletter is sent, the view query is modified with details required by the Simplenews mail spool and the results are then inserted into the mail spool.

Some example use cases:

  • Wanting to email all subscribers (with registered accounts) who live in a particular country (profile field)
  • Wanting to email all subscribers (with registered accounts) who have created some piece of content.
  • And pretty much anything else that is possible with views.

This module is being actively developed, so please test it out and leave some feedback.

Version 7.x-2.x

Under development. The 7.x-2.x branch of this module is compatible with the 7.x-2.x branch of Simplenews.

Version 7.x-1.x

Maintenance only. The 7.x-1.x branch of this module is compatible with the 7.x-1.x branch of Simplenews.

Supporting organizations: 
Sponsored development

Project information

Releases