Active
Project:
Amazon SES
Version:
3.1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Aug 2026 at 02:48 UTC
Updated:
4 Aug 2026 at 02:48 UTC
Jump to comment: Most recent
Emails to BCC are never sent.
Set up a webform and add an email handler with a BCC to a email address different to the to. Submit and observe that the bcc email does not get an email address.
The problem is that the email is built using:
return $this->getPreparedHeaders()->toString().$body->toString();
https://git.drupalcode.org/project/amazon_ses/-/blob/3.0.x/src/AmazonSes...
In https://github.com/symfony/symfony/blob/v6.4.41/src/Symfony/Component/Mi...
toString calls
$this->getPreparedHeaders()->toString()
to build the headers in, this explicitly removes the BCC
https://github.com/symfony/symfony/blob/v6.4.41/src/Symfony/Component/Mi...
$headers->remove('Bcc');
Note the above holds in latest symfony/mime - site I found on is still on Drupal 10 hence the links to 6.4.41.
Comments