mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-03-07 16:38:40 +00:00
fix imap connection error
This commit is contained in:
parent
f1114b2f0a
commit
dc09cbb703
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user