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
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 | Notes | Release date | |
|---|---|---|---|---|---|
| 2.0.1 | Stable | 8–11 | Feb 18, 2025 |