Skip to content
Snippets Groups Projects
Commit 0bc8154f authored by Chris Matthews's avatar Chris Matthews
Browse files

Issue #3453660 by bceyssens: Use altered Mail message object

parent 85ee9ecb
No related branches found
No related tags found
1 merge request!35Issue #3453660: Use altered Mail message object
......@@ -601,7 +601,7 @@ class SendGridMail implements MailInterface, ContainerFactoryPluginInterface {
// Lets try and send the message and catch the error.
try {
$response = $client->send($sendgrid_message);
$response = $client->send($sendgrid_params['message']);
}
catch (SendgridException $e) {
$this->logger->error('Sending emails to Sendgrid service failed with error code ' . Xss::filter($e->getCode()));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment