diff --git a/Message/Mail/Imap.php b/Message/Mail/Imap.php index 7de3555ca..74acfd727 100644 --- a/Message/Mail/Imap.php +++ b/Message/Mail/Imap.php @@ -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;