Open michalcharvat opened 1 year ago
The used code:
$imapPath = '{' . $imap_host . ':' . $imap_port . '/imap/' . $imap_encryption . '}' . $mailbox; $mailboxConnection = new Mailbox( $imapPath, $this->imap_username, $this->imap_password, null, // Directory, where attachments will be saved (optional) 'UTF-8', // Server encoding (optional), true, true, ); $mails = Imap::fetch_overview( $mailboxConnection->getImapStream(), '1:*', FT_UID );
This solved my issue.
The used code: