rebuild folder structure list

This commit is contained in:
Torsten Schulz
2023-07-03 11:50:35 +02:00
parent 44a8753cc9
commit 1a3e9ae0ff

View File

@@ -16,7 +16,7 @@ class Emailinbox extends Renderer {
protected function readEmailHeaders(): array {
$cleanedHeaders = [];
try {
$folders = $this->mbox->getListingFolders();
$mailsIds = $this->mbox->searchMailbox('ALL');
} catch(PhpImap\Exceptions\ConnectionException $ex) {
echo "IMAP connection failed: " . implode(",", $ex->getErrors('all'));
die();