Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

ECA Simplenews

No security coverage Under active development 6 sites

Part of the ECA ecosystem · 51 projects

This module adds new actions and conditions to the ECA system, allowing you to integrate Simplenews subscription and unsubscription functionality into your automated workflows. It provides actions to subscribe and unsubscribe users from newsletters, along with conditions to check subscription status or self-unsubscribes. This enables you to automate user newsletter management based on various events and conditions within your Drupal site.

At this time, the Simplenews "subscribe" and "unsubscribe" actions (among other events, actions, and conditions) are not available to models created with ECA: Event - Condition - Action. This tries to fix that. (See this Simplenews issue for more background._

Features

Upon installation (along with the required ECA and Simplenews modules), two new actions are made available to ECA models: "Subscribe to newsletter" and "Unsubscribe from newsletter." Three conditions are also made available: "User is currently subscribed," "User has ever subscribed," and "Check for self-unsubscribes."

The "Check for self-unsubscribes" carries a caveat. Although Simplenews records the newsletter id for a subscribe, it does not do the same for an unsubscribe. Therefore this condition checks whether a user has previously unsubscribed from ANY newsletter. If you use this condition, you may want to use "Send email" or another action to notify and administrator to check for false positives.

Post-Installation

Here's an an example of how this module can be used:

Event: Presave content entity (Type and bundle: User -any- )
Action: Subscribe to newsletter (Email address: [user:mail] Subscribe to: default)

When saved and enabled, that model will automatically subscribe a user to the "default" (machine name) newsletter when the user is created or updated. Additional conditions can be added as with any ECA module. For example, "role of current user."

Additional Requirements

Requires ECA and Simplenews modules.

Ask your assistant about ECA Simplenews

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Feb 2026
Latest release
5 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Releases

Version Type Core PHP Release date
1.0.0-alpha1 Pre-release 10–11 Apr 28, 2026
1.0.x-dev Dev 10–11 Feb 3, 2026