This module allows you to reroute emails sent via Drupal Symfony Mailer to specific addresses. You can enable this globally or on a per-environment basis and configure which emails are rerouted through Symfony Mailer's policy settings.
Important:
This module is now obsolete, since Reroute Email adds this functionality since version 2.3.0-beta1. Please consider using that module, and enabling the reroute_email_symfony_mailer submodule.
Description
Provides rerouting options for the Drupal Symfony Mailer module. This functionality somewhat similar to the Reroute Email module, but is specific for Drupal Symfony Mailer, and uses this module's Policy functionality, to decide which email message(s) to reroute.
Configuration
- First, decide if you want to globally enable rerouting or not. Go to /admin/config/system/mailer/reroute to enable routing functionality. If the checkbox is unchecked, no rerouting at all will happen.
- Optionally, you can override this setting per environment in your settings.php or settings.local.php file (e.g. to only enable rerouting on your dev site):
$config['symfony_mailer_reroute.settings']['enable'] = TRUE; - Go to the policy settings page of Drupal Symfony Mailer (/admin/config/system/mailer)
- Edit the policy for which you wish to reroute emails (could be a specific mail, or the `*All*` policy). Add the "Reroute email (if enabled)" element to your policy.
- Define one or more addresses to reroute to within the policy settings.
Ask your assistant about Drupal Symfony Mailer Reroute
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
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Release Timeline
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.2.0-beta2 | Pre-release | 9–10 | Aug 23, 2023 | ||
| 1.2.0-beta1 | Pre-release | 9–10 | Feb 1, 2023 | ||
| 1.2.0-alpha1 | Pre-release | 9–10 | Jan 17, 2023 |