Closed
Description
Symfony version(s) affected: 4.4.7
Description
I was able to send emails to the to() address, but bcc() seems ignored.
Using templated emails.
The URL I use for the DSN is one of type:
MAILER_DSN=ses://ACCESS_KEY:SECRET_KEY@default?region=eu-west-1
How to reproduce
$email = (new TemplatedEmail())
->from(new Address('emailFROM@email.com', 'nameFROM'))
->to(new Address('emailTO@email.com', 'nameTO'))
->bcc(new Address('emailBCC@email.com', 'nameBCC'))
->subject($subject)
->htmlTemplate($template)
->context($context);
$mailer->send($email);
- Email received at emailTO@email.com
- Email not received at emailBCC@email.com
Nothing more than that. Upon debugging, it seems that when the message is converted to raw the bcc is not present in the headers.