Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Mailer] BCC doesn't work with AWS SES #36333

Copy link
Copy link
Closed
@Pixelshaped

Description

@Pixelshaped
Issue body actions

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);

Nothing more than that. Upon debugging, it seems that when the message is converted to raw the bcc is not present in the headers.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.