We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Simple code from example:
$client->connect(); //Get all Mailboxes /** @var \Webklex\PHPIMAP\Support\FolderCollection $folders */ $folders = $client->getFolders(); //Loop through every Mailbox /** @var \Webklex\PHPIMAP\Folder $folder */ foreach($folders as $folder){ //Get all Messages of the current Mailbox $folder /** @var \Webklex\PHPIMAP\Support\MessageCollection $messages */ $messages = $folder->messages()->fetchOrderDesc()->paginate(5, 1)->all(); /** @var \Webklex\PHPIMAP\Message $message */ foreach($messages as $message){ echo $message->getSubject().'<br />'; echo 'Attachments: '.$message->getAttachments()->count().'<br />'; echo $message->getHTMLBody(); } }
$message->getHTMLBody() return html with message headers.
Desktop / Server (please complete the following information):
Sometims it happens with $message->getTextBody()
The text was updated successfully, but these errors were encountered:
And in one of s messages getHTMLBody() return.. I don't know.. some bytes. It's attachment or may be something wrong with encoding.
Sorry, something went wrong.
No branches or pull requests
Simple code from example:
$message->getHTMLBody() return html with message headers.
Desktop / Server (please complete the following information):
Sometims it happens with $message->getTextBody()
The text was updated successfully, but these errors were encountered: