motze92 / office365-mail

Office365 transport for Laravel
MIT License
62 stars 21 forks source link

fix: get real body content-type of the body fixes #1 #2

Closed matrad closed 4 years ago

matrad commented 4 years ago

When the content-type is multipart/alternative then the Mail-Content has mixed content (for example text/html´ andtext/plain`. So we need to retrieve the contentType of the body.

The content-type multipart/alternative is used by default on Laravel-Notifications