I have noticed that past use of setting CC/BCC in $message['params']['headers'] MAY no longer work. I haven't be able to find details on this core API change but possibly this is from D9.5+. I am releasing version 4.2.0 as compatible with D9.5/D10 which now sets CC/BCC directly in $message['headers']. Good idea to test that this is properly redirecting your CC/BCC addresses.
Changes t() to $this->t() in form class for admin settings.
Changes if Drupal::service('email.validator')->isValid() to \Drupal::service('email.validator')->isValid() as no longer valid without the \ at the front.
NOTE: settings.php from 7.x-1.x release is not compatible with 2.x. See README for more info.
- add single address redirect feature
- new admin interface to support this
- remove all reference to mimemail patch as no longer required
- fix/improve how address skip and no mail works
- add single address redirect feature
- new admin interface to support this
- remove all reference to mimemail patch as no longer required
- fix/improve how address skip and no mail works
upgraded to major release 2.x as the settings.php requirement to set redirect has changed with this release and therefore existing site configs are not compatible.
My first project updated to D7 so please let me know if any issues.
NOTES:
- mimemail patch is still in distro but has not been looked at for D7
- admin page does not show up at admin/config - i think this is a core bug but haven't verified
- fix the access arg on callback so you can get to admin config page
NOTE - this really isn't the best way to use this module though - you should NOT set anything in the admin config as that will eventually be your live site where you DON'T want to redirect your email. Then in the settings.php for your test/devel sites set the 'mail_redirect_domain' var there.