Module Description
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
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
Module Link
Project Usage
220
Security Covered
Not Covered By Security Advisory
Version Available
Production
Module Summary
This module aims to prevent outgoing emails from being sent and logs them to the database, while also providing a minimal Admin UI to view the logged mails.
Data Name
devel_mail_logger