Posted by jonathan_hunt on January 29, 2008 at 12:33am
| Project: | Reroute Email |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
Reroute Email works by overriding the 'To:' address in the email and passing on the other parameters (including email headers) unchanged. This allows emails with Bcc or Cc fields to still be sent out from the site rather than rerouted. For example, the Mass Contact module (http://drupal.org/project/mass_contact) has a use Bcc option and Reroute Email lets these through.
I made the following fix in reroute_email_mail_alter()
// Suppress Bcc and Cc fields otherwise email will still go out
unset($headers['Bcc']);
unset($headers['Cc']);
Comments
#1
Please submit this as a patch to the current version.
#2
Generate from svn; does this work for you?
#3
Committed. Should be in the -dev release tomorrow.
Thanks.
#4
Automatically closed -- issue fixed for two weeks with no activity.