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

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

Supporting organizations: 
Sponsored 7.x development

Project information

Releases