You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Or the possibility of retrieving the complete message regardless of the type with a single function.
It happens to me that a message, for example, a response to a server error (Delivery Status Notification (Failure)) comes with the first part in text and the second part in html. When I retrieve the message through the library, it only detects part of the content.
Thanks!
The text was updated successfully, but these errors were encountered:
But this is not the case, both getBodyHtml() and getBodyText() return the formatted message.
I have cases where, for example, messages arrive in text, but they have an EML file attached with the HTML message. The ddeboer library attaches this attachment as if it were part of the received message.
Additionally, it has a very interesting function, which allows you to add embedded images to messages: $body = $message->mask()->getHTMLBodyWithEmbeddedBase64Images();
Friends
Is there any function or method to detect if a message is HTML or TEXT?
For example:
Or the possibility of retrieving the complete message regardless of the type with a single function.
It happens to me that a message, for example, a response to a server error (Delivery Status Notification (Failure)) comes with the first part in text and the second part in html. When I retrieve the message through the library, it only detects part of the content.
Thanks!
The text was updated successfully, but these errors were encountered: