Hello,
It whould be great to have address/domain whitelist functionality for the Drupal 8 version of the Reroute Email.
This patch adds basic domain whitelist functionality based on patches from #1571500 Separate the recipient (list) from the address whitelist. Add domain whitelist.
Also provides small refactoring of the RerouteEmailSettings.php file:
- added $this->t() usages
- provided correct dependency injection
| Comment | File | Size | Author |
|---|
Comments
Comment #2
gilmordComment #3
gilmordComment #5
bohartThis one used on three different projects for half a year.
Works like a charm!
Comment #6
bohart1) The patch should be re-rolled. Can't apply to current 8.x deb branch.
2) Instead of creating a new field in settings form, we can use current field and allow to set wildcard email like `*@drupal.org`, isn't it?
3) Backport for D7 should be done as well (Should we have a separate issue for that?).
Comment #7
bohartMarked as postponed because of #2924078: Update settings form to have 2 emails fields.
Comment #8
bohartDone for Drupal 8 at #2924078: Update settings form to have 2 emails fields.
Should be back-ported to Drupal 7 in that issue as well.
This one marked as fixed.