-
Notifications
You must be signed in to change notification settings - Fork 460
Closed
Labels
needs investigationThis will be tested / debugged or checked out.This will be tested / debugged or checked out.
Description
Thank you for this library, I am using it for years, I was using up to version 3.1.0 but now I wanted to upgrade to 4.5 ang get problems with UTF-8 characters.
- PHP IMAP version: tested anything newver than 3.1.0
- PHP Version: 7.4
- Type of execution: web server
Email with UTF-8 characters - these characters are unreadable.
The used code:
$mailbox = new PhpImap\Mailbox('{xxxxxx:143/imap4/notls/novalidate-cert}INBOX', 'xxxxx', 'xxxx');
var_dump($mailbox->getServerEncoding()); //---GETTING UTF-8---
$mailsIds = $mailbox->searchMailbox('ALL');
if(!$mailsIds) return 0;
foreach ($mailsIds as $key=>$mailsId)
{
$mail = $mailbox->getMail($mailsId);
//var_dump($mail);
var_dump($mail->textHtml);
}I tried to test any version newer than 3.1.0 but without success, only till 3.1.0 works.
Thank you.
Metadata
Metadata
Assignees
Labels
needs investigationThis will be tested / debugged or checked out.This will be tested / debugged or checked out.