fix imap connection error

This commit is contained in:
Dennis Eichhorn 2022-09-30 17:11:29 +02:00
parent f1114b2f0a
commit dc09cbb703

View File

@ -110,7 +110,7 @@ class Imap implements MailBoxInterface
*/
public function connectInbox() : bool
{
$this->mailbox = ($tmp = \imap_open(
$this->mailbox = ($tmp = @\imap_open(
'{' . $this->host . ':' . $this->port . $this->flags . '}',
$this->username, $this->password
)) === false ? null : $tmp;