Part of the Devel ecosystem · 15 projects
This module logs outgoing emails to the database and provides an interface to view them, preventing them from actually being sent. This is useful for testing email functionality.
This Modules provides a way prevent outgoing emails from being send and logs them to the Database. Also it contains a minimal Admin UI to view logged mails.
Drupal 8
The provided MailInterface devel_mail_log logs all outgoing mails into database. Activate it via https://www.drupal.org/project/mailsystem or in settings.php.
Drupal 7
Drupla 7 version uses a different approach, it uses hook_mail_alter to abort sending and then allows to view the logged email, admin can then send these logged emails using the normail mailing system, this is helpful to test emails real time.
Drupal 7 version also has logging for Civicrm emails.
Drupal 7 version development sponsored by Gokhale Method
Ask your assistant about Devel Mail Logger
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.
More in the Devel ecosystem
Most installed first
Activity
Release Timeline
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 2.0.1 | Stable | 8–11 | Feb 18, 2025 | ||
| 2.0.0 | Stable | 8–10 | PHP >=7.4 | May 31, 2023 | |
| 8.x-1.0-beta5 | Pre-release | 8–10 | May 31, 2023 |