- Issue created by @alex.bukach
We use the "Views Send" module together with
SendGrid Integration →
, and emails sent by "Views Send" are not actually send as the message array in views_send_deliver()
does not have 'send' => TRUE
property.
Also, we get other warnings because it does not have the "id" key (explicitly required for \Drupal\Core\Mail\MailInterface::mail()
), and "module" key.
We should add all those keys to the message array. Though not all of them are a requirement, it makes sense to return all the keys that \Drupal\Core\Mail\MailManager::doMail()
adds.
Active
2.0
Code