It would be useful to be able to BCC all outgoing email to a specific account.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DamienMcKenna’s picture

Status: Active » Needs review
FileSize
2.25 KB

Patch attached that allows for a specific address to be blind-copied on all outgoing messages. Validation is done on the settings form field, and also before messages are sent, to avoid this causing errors with the mail handler.

DamienMcKenna’s picture

FileSize
2.28 KB

Updated patch that fixes a problem of looking for the wrong Bcc variable in the $message array.

miro_dietiker’s picture

Duplicated by
#918252: Forward logged email

Sorry i didn't see this post earlier. Somehow forgot to subscribe to this modules' issue queue.

miro_dietiker’s picture

Status: Needs review » Needs work

I recently was confused about "to" supporting the type array to reach multiple recipients.

I think that if the array type is allowed we should switch to array notation instead of adding it as a string... Actually i don't like this type switching but packing multiple elements in one string is also ugly....

Is there any clean definitio about this cases?
If this all contains special chars, encoding of the headers might result differently.