Mailbox update

This commit is contained in:
Torsten Schulz
2023-06-16 14:33:41 +02:00
parent 810577acd6
commit b013ca914f

View File

@@ -22,10 +22,6 @@ class Emailinbox extends Renderer {
echo "IMAP connection failed: " . implode(",", $ex->getErrors('all'));
die();
}
if(!$mailsIds) {
die('Mailbox is empty');
}
$headers = $this->mbox->getMailsInfo($mailsIds);
foreach ($headers as $header) {
try {