Download & Extend

Mail sent to addresses in Bcc and Cc fields

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

Version:5.x-1.x-dev» 5.x-1.0
Status:active» needs work

Please submit this as a patch to the current version.

#2

Status:needs work» needs review

Generate from svn; does this work for you?

AttachmentSizeStatusTest resultOperations
reroute_email-215279.patch567 bytesIgnored: Check issue status.NoneNone

#3

Version:5.x-1.0» 5.x-1.x-dev
Status:needs review» fixed

Committed. Should be in the -dev release tomorrow.

Thanks.

#4

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

nobody click here