Reroute Email

Module Drupal Illustration Voir sur
Nb téléchargements : 17157


  • Code
  • User interface
  • Tests
  • Documentation
  • Refactoring
  • Miscellaneous

Next Major version

2.2.x is Drupal 10 compatible.



permet d'intercepter tous les emails pour les renvoyer vers un autre mail


Status : Published
Projects : Modules
Maintenance status : Actively maintained
Development status : Under active development
Supported Branches : 2.2., 2.3.
shield Stable releases for this project are covered by the security advisory policy.


This module intercepts all outgoing emails from a Drupal site and reroutes them to a predefined configurable email address.

This is useful in case where you do not want email sent from a Drupal site to reach the users. For example, if you copy a live site to a test site for the purpose of development, and you do not want any email sent to real users of the original site. Or you want to check the emails sent for uniform formatting, footers, ...etc.

This is also a good demonstration of what hook_mail_alter(), available in Drupal 5.x and later, can do.

Installation and Configuration

Check the README.txt (Drupal 7 / Drupal 9/10) file for detailed instructions on installation, configuration and usage.

Tips and Tricks

Overriding configuration variables:
Reroute Email provides configuration variables that you can directly override in the settings.php file of a site. This is useful for moving sites from live to test and vice versa.
For more information and a code snippet, please check the README.txt file under the section Tips and Tricks.

Original Author: Khalid Baheyeldin of
Drupal 8/9 Maintainer: Bohdan Artemchuk of DevBranch.
The author and maintainers can also be contacted for paid customizations of this module as well as Drupal consulting, installation, development, and customizations.


This module is maintained by Ukrainian developers.
Please consider supporting Ukraine in a fight for their freedom and safety of Europe.

Toutes les informations proviennent du site