laravel-imap icon indicating copy to clipboard operation
laravel-imap copied to clipboard

Unable to get message html body in some cases

Open AsifMian opened this issue 3 years ago • 3 comments

Please be aware that these issues will be closed if inactive for more then 14 days :) dd($oMessage->hasHTMLBody(),$oMessage->getHTMLBody());

result is false , null

if message has body with html and inline css it retruns nothing which is annonying.

please tell how to fix, package install version is 2.4

AsifMian avatar Apr 16 '22 16:04 AsifMian

try this $oMessage->getRawBody()

jil1092000 avatar Apr 26 '22 04:04 jil1092000

@jil1092000 still no content in body

Using v4 with gmail

alphaolomi avatar Sep 02 '22 21:09 alphaolomi

can you send me your code ?

jil1092000 avatar Sep 05 '22 11:09 jil1092000

Seems to be related to php-imap issue #275 and php-imap PR #233.

mpryvkin avatar Sep 29 '22 16:09 mpryvkin

Hi @AsifMian @alphaolomi , please update to the latest release. If the issue persists even after updating to the latest release, please head over to the core library and create a fresh issue here: https://github.com/Webklex/php-imap/issues/new?assignees=&labels=&projects=&template=bug_report.md

If you do, please also include a code and mail sample to replicate the reported behavior.

Best regards & happy coding,

Webklex avatar Jul 06 '23 09:07 Webklex