At the end of SendGridMailSystem->send() we have:
if ($response_code = 200) {
// If the code is 200 we are good to finish and proceed.
return TRUE;
}
// Default to low. Sending failed.
return FALSE;
We need:
if ($response_code == 200) {
// If the code is 200 we are good to finish and proceed.
return TRUE;
}
// Default to low. Sending failed.
return FALSE;
Comments
Comment #3
perignon commentedComment #4
djdevinI confirmed this fixes the issue.
But please see #3243696: Various issues with error reporting, the error message doesn't make it to the logs.