SSilence / php-imap-client

a easy solution for simple IMAP email access in php
MIT License
268 stars 136 forks source link

Getting the HTML part of an email #179

Closed michel-klomp closed 7 years ago

michel-klomp commented 7 years ago

Hello, Somehow I don't see how I can get the HTML part of this email. I provided an var_dump of the email, and marked the area where the HTML part is positionned with " //////#### WANTED ######"

Thanks for your help.

mail.txt

dv336699 commented 7 years ago

http://ssilence.github.io/php-imap-client/incomingmessage.html

https://github.com/SSilence/php-imap-client/issues/157#issuecomment-297911343

(string)$mail->message->html
(string)$mail->message->text
mattparksjr commented 7 years ago

Closed. @diego-vieira have the answer