mailer: mailchimp bridge is throwing undefined index _id when setting message id in mandrill http transport

This commit is contained in:
Hugo Monteiro 2019-11-25 14:55:17 +00:00
parent ec781c927a
commit fa3f901cf8

View File

@ -60,7 +60,7 @@ class MandrillHttpTransport extends AbstractHttpTransport
throw new HttpTransportException(sprintf('Unable to send an email (code %s).', $result['code']), $response);
}
$message->setMessageId($result['_id']);
$message->setMessageId($result[0]['_id']);
return $response;
}