8000 [Mailer] Get failing email addresses · Issue #33812 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Mailer] Get failing email addresses #33812

@thafirstone

Description

@thafirstone

Description
Hi,
I'm looking for a way to display the email addresses to which the message was not sent.

Example
Something like that used to exist on Swiftmailer

$failure = [];

        if (!$this->mailer->send($message, $failure)) {
            ....
        } 

With $failure containing the emails to which the message was not sent