Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Reroute Email

Security covered Under active development 20,554 sites

This module redirects all outgoing emails from your Drupal site to a specific email address. It's useful for development or testing environments to prevent emails from being sent to real users and to review email content.

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 2bits.com.
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.
Drupal 9–10 · not 11

Ask your assistant about Reroute Email

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

2 tracked projects depend on this one

Activity

Tracked releases
7
Tracked since
Sep 2023
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
2.3.0-rc2 Pre-release 10–11 Oct 28, 2024
2.3.0-rc1 Pre-release 9–10 Dec 9, 2023
2.3.0-beta1 Pre-release 9–10 Oct 12, 2023
2.3.x-dev Dev 10–11 Oct 2, 2023
2.2.1 Stable 9–10 Oct 1, 2023
2.1.2 Stable 7–8 Oct 1, 2023
2.2.x-dev Dev 9–10 Sep 27, 2023