Closed
Description
Symfony version(s) affected: 4.4.1
Description
Since version 4.4.1, I can't sent emails using mailchimp transport with mandrill+api
scheme.
How to reproduce
Send a classic email with following code:
$email = (new Email())
->from(new Address("sender@site.com"))
->to("recipient@site.com")
->subject("subject")
->text("text")
;
try {
$mailer->send($email);
} catch (TransportExceptionInterface $e) {
}
You should have a notice error Notice: Undefined index: _id
After some digging, here is what happens : the doSendApi
method from MandrillApiTransport
tries to set the message id from the variable $result['_id']
, but this variable is a multidimensional array :