This module prevents outgoing emails from being sent, which is particularly useful in development environments to avoid accidental communication with real users. It uses a built-in Drupal hook to intercept and block emails.
This module blocks outgoing emails after reading the setting of a configuration form. Its extremely useful in development environments where outgoing emails will cause problems if they are not blocked. For example, the dev environment with a cron job sending emails with invoices to existing customers would be problematic as they will receive mails from prod as well.
The module uses the hook_mail_alter supplied by Drupal 8 to block the emails. This module is intentionally kept simple and with a small footprint.
Ask your assistant about Email Blocker
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
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 8.x-1.0 | Stable | Dec 16, 2024 |