Webklex / laravel-imap

Laravel IMAP is an easy way to integrate both the native php-imap module and an extended custom imap protocol into your Laravel app.
https://www.php-imap.com
MIT License
641 stars 182 forks source link

Unable to get message html body in some cases #431

Closed AsifMian closed 1 year ago

AsifMian commented 2 years ago

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

jil1092000 commented 2 years ago

try this $oMessage->getRawBody()

alphaolomi commented 2 years ago

@jil1092000 still no content in body

Using v4 with gmail

jil1092000 commented 2 years ago

can you send me your code ?

mpryvkin commented 2 years ago

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

Webklex commented 1 year ago

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,