Merge pull request #145 from tedious/supress_php_warning

Suppressed imap_open warning
This commit is contained in:
Robert Hafner 2015-08-01 20:38:12 -07:00
commit ea3f1bbde6

View File

@ -310,7 +310,7 @@ class Server
if (!imap_reopen($this->imapStream, $this->getServerString(), $this->options, 1))
throw new \RuntimeException(imap_last_error());
} else {
$imapStream = imap_open($this->getServerString(), $this->username, $this->password, $this->options, 1, $this->params);
$imapStream = @imap_open($this->getServerString(), $this->username, $this->password, $this->options, 1, $this->params);
if ($imapStream === false)
throw new \RuntimeException(imap_last_error());