Problem/Motivation
When working in a development environment, it would be helpful to have a way to force all outgoing messages to go to a single developer email address as it does with the D7 version.
Steps to reproduce
On the admin page a field should be available to force all mail to go to a certain address. This should also be available as a config setting that could be added to a local settings.php file.
Proposed resolution
Replicate the essential logic from the D7 version to add the value to the module's configs.
Remaining tasks
User interface changes
Add the option on the admin config page that resembles the option on D7.
API changes
Data model changes
Comments
Comment #2
tr commentedThis use case can be handled in many ways. See https://www.drupal.org/docs/develop/local-server-setup/managing-mail-han...
Likewise, core Drupal provides a mechanism for overriding ANY config variable, from within settings.php. The is nothing that SMTP needs to do to make this possible.
And if you need a different set of configuration settings on your development server vs. your production server, you should be using something like config_split.
SMTP should not be implementing features that are better handled by other contributed modules.
Comment #3
bluegeek9 commentedThe module has a setting to reroute all emails to a single address.
Comment #5
bluegeek9 commented