rebuild folder structure list
This commit is contained in:
@@ -16,7 +16,7 @@ class Emailinbox extends Renderer {
|
|||||||
protected function readEmailHeaders(): array {
|
protected function readEmailHeaders(): array {
|
||||||
$cleanedHeaders = [];
|
$cleanedHeaders = [];
|
||||||
try {
|
try {
|
||||||
$folders = $this->mbox->getListingFolders();
|
$mailsIds = $this->mbox->searchMailbox('ALL');
|
||||||
} catch(PhpImap\Exceptions\ConnectionException $ex) {
|
} catch(PhpImap\Exceptions\ConnectionException $ex) {
|
||||||
echo "IMAP connection failed: " . implode(",", $ex->getErrors('all'));
|
echo "IMAP connection failed: " . implode(",", $ex->getErrors('all'));
|
||||||
die();
|
die();
|
||||||
|
|||||||
Reference in New Issue
Block a user