Closed matrad closed 4 years ago
Default Laravel-Mails are sent with the getContentType() = "multipart/alternative" - this messages are sent as plain text - not html
So we should verify the integration with laravel-default-notifications.
For us it looks ok if we change the content-type from:
'contentType' => $message->getContentType() == "text/html" ? 'html' : 'text',
to:
in_array($message->getContentType(), ["text/html", "multipart/alternative"]) ? 'html' : 'text',
@motze92 added a commit with the relevant fix. Please review it, merge it and add a new version-tag to the repository - thanks :)
Default Laravel-Mails are sent with the getContentType() = "multipart/alternative" - this messages are sent as plain text - not html
So we should verify the integration with laravel-default-notifications.
For us it looks ok if we change the content-type from:
'contentType' => $message->getContentType() == "text/html" ? 'html' : 'text',
to:
in_array($message->getContentType(), ["text/html", "multipart/alternative"]) ? 'html' : 'text',