Skip to content

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

@Pixelshaped

Description

@Pixelshaped

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

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy