Maillog provides an easy possibility to log all Mails for debugging purposes. It's possible to prevent the mails to being sent, so there is no need for an extra mail server to test the mail functionality of other modules or the drupal core. Additionally you can immediately display the mail through the devel dpm() facility.
Warning
Recording mails may be in violation of some regional legal regulations. The maintainers of this module deny all responsibility for how individual site owners & maintainers use this module.
Drupal 11 and beyond
This module is obsolete as the Drupal community is moving towards Symfony Mailer as the default mail system; for logging functionality use the Symfony Mailer Log module.
More information
Please see the included README.txt file.
To get started:
- Download and install the module.
- Configure it at "Configuration" -> "Development" -> "Mail Log Settings" (admin/config/development/maillog).
- Cause the site to send some emails.
- Load the Mailllog report at "Reports" -> "Maillog" (admin/reports/maillog).
- View the emails, delete them as desired.
Use of the Mailsystem module is recommended.
Issue Reports
Before reporting an issue always test with the latest release to see if you problem has already been fixed.
Similar modules
- Symfony Mail Log logs all emails from Symfony Mailer; this is the best long-term solution for Drupal sites.
- Redirection of mail only with Reroute Email (D7, D8/9)
- Feature rich rerouting with Advanced Mail Reroute (D7)
- Pure logging is also done by Mail Logger (D7)
Project information
Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed.Obsolete
Use of this project is deprecated.- Project categories: Developer tools, Integrations
5,656 sites report using this module
- Created by miro_dietiker on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
D11 support, other improvements, fixes.
Development version: 8.x-1.x-dev updated 28 Jan 2026 at 10:34 UTC


