Mailbox update
This commit is contained in:
@@ -8,6 +8,7 @@ class Emailinbox extends Renderer {
|
||||
public function __construct(?string $templateName = null) {
|
||||
parent::__construct();
|
||||
$folder = urldecode(filter_input(INPUT_GET, 'folder')) ?? 'INBOX';
|
||||
var_dump($folder);
|
||||
if (!$this->connectToImap($folder)) {
|
||||
$this->templateName = 'imaperror';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user