Mailbox update
This commit is contained in:
@@ -62,7 +62,7 @@ class Emailinbox extends Renderer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected function generateFolders(): void {
|
protected function generateFolders(): void {
|
||||||
$folders = $this->mbox->getMailboxes("*");
|
$folders = $this->mbox->getMailboxes("INBOX/*");
|
||||||
var_dump($folders);
|
var_dump($folders);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -453,7 +453,7 @@ class Renderer {
|
|||||||
|
|
||||||
protected function connectToImap(): bool {
|
protected function connectToImap(): bool {
|
||||||
$this->mbox = new PhpImap\Mailbox(
|
$this->mbox = new PhpImap\Mailbox(
|
||||||
'{' . $this->imapServer . ':' . $this->imapPort . '/imap/ssl}INBOX',
|
'{' . $this->imapServer . ':' . $this->imapPort . '/imap/ssl}',
|
||||||
$this->emailUser,
|
$this->emailUser,
|
||||||
$this->emailPassword,
|
$this->emailPassword,
|
||||||
__DIR__,
|
__DIR__,
|
||||||
|
|||||||
Reference in New Issue
Block a user