Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to get message html body in some cases #431

Closed
AsifMian opened this issue Apr 16, 2022 · 5 comments
Closed

Unable to get message html body in some cases #431

AsifMian opened this issue Apr 16, 2022 · 5 comments

Comments

@AsifMian
Copy link

AsifMian commented Apr 16, 2022

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
Copy link

try this $oMessage->getRawBody()

@alphaolomi
Copy link
Contributor

@jil1092000 still no content in body

Using v4 with gmail

@jil1092000
Copy link

can you send me your code ?

@mpryvkin
Copy link

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

@Webklex
Copy link
Owner

Webklex commented Jul 6, 2023

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 Webklex closed this as completed Jul 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants