Mailbox update

This commit is contained in:
Torsten Schulz
2023-06-16 13:54:18 +02:00
parent 7e4ac1bd1b
commit dd42804cd9

View File

@@ -7,7 +7,7 @@ class Emailinbox extends Renderer {
public function __construct(?string $templateName = null) { public function __construct(?string $templateName = null) {
parent::__construct(); parent::__construct();
$folder = $filter_input(INPUT_GET, 'folder') ?? 'INBOX'; $folder = filter_input(INPUT_GET, 'folder') ?? 'INBOX';
if (!$this->connectToImap($folder)) { if (!$this->connectToImap($folder)) {
$this->templateName = 'imaperror'; $this->templateName = 'imaperror';
} }