rebuild read out email

This commit is contained in:
Torsten Schulz
2023-07-03 12:50:58 +02:00
parent 4e85f8c881
commit 7abdd5940d
3 changed files with 6 additions and 3 deletions

View File

@@ -4,6 +4,7 @@ require 'mailhandling.php';
class Mail extends Mailhandling {
// protected $mbox = null;
protected $folder = '';
protected $uid = 0;
public function __construct(?string $templateName = null) {
@@ -12,7 +13,9 @@ class Mail extends Mailhandling {
$this->templateName = 'imaperror';
return;
}
$this->uid = $this->getUriParams()['uid'];
$params = $this->getUriParams();
$this->uid = $params['uid'];
$this->folder = $params['folder'];
$this->content['uid'] = $this->uid;
}