mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-09-13 08:34:36 +08:00
Small fixes
This commit is contained in:
parent
7134b65210
commit
9cc791caba
3 changed files with 4 additions and 4 deletions
|
@ -2,7 +2,7 @@
|
||||||
"name": "RainLoop",
|
"name": "RainLoop",
|
||||||
"title": "RainLoop Webmail",
|
"title": "RainLoop Webmail",
|
||||||
"version": "1.6.1",
|
"version": "1.6.1",
|
||||||
"release": "628",
|
"release": "630",
|
||||||
"description": "Simple, modern & fast web-based email client",
|
"description": "Simple, modern & fast web-based email client",
|
||||||
"homepage": "http://rainloop.net",
|
"homepage": "http://rainloop.net",
|
||||||
"main": "Gruntfile.js",
|
"main": "Gruntfile.js",
|
||||||
|
|
|
@ -600,7 +600,7 @@ class ManageSieveClient extends \MailSo\Net\NetClient
|
||||||
'OK' !== \substr($aResponse[\count($aResponse) - 1], 0, 2))
|
'OK' !== \substr($aResponse[\count($aResponse) - 1], 0, 2))
|
||||||
{
|
{
|
||||||
$this->writeLogException(
|
$this->writeLogException(
|
||||||
new \MailSo\Sieve\Exceptions\NegativeResponseException(),
|
new \MailSo\Sieve\Exceptions\NegativeResponseException($aResponse),
|
||||||
\MailSo\Log\Enumerations\Type::WARNING, true);
|
\MailSo\Log\Enumerations\Type::WARNING, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -703,7 +703,7 @@ class SmtpClient extends \MailSo\Net\NetClient
|
||||||
if ('-' !== trim($aParts[1]) && !in_array((int) $aParts[0], $mExpectCode))
|
if ('-' !== trim($aParts[1]) && !in_array((int) $aParts[0], $mExpectCode))
|
||||||
{
|
{
|
||||||
$this->writeLogException(
|
$this->writeLogException(
|
||||||
new Exceptions\NegativeResponseException(trim(
|
new Exceptions\NegativeResponseException($this->aResults, trim(
|
||||||
(0 < count($this->aResults) ? implode("\r\n", $this->aResults)."\r\n" : '').
|
(0 < count($this->aResults) ? implode("\r\n", $this->aResults)."\r\n" : '').
|
||||||
$this->sResponseBuffer)), \MailSo\Log\Enumerations\Type::ERROR, true);
|
$this->sResponseBuffer)), \MailSo\Log\Enumerations\Type::ERROR, true);
|
||||||
}
|
}
|
||||||
|
@ -711,7 +711,7 @@ class SmtpClient extends \MailSo\Net\NetClient
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$this->writeLogException(
|
$this->writeLogException(
|
||||||
new Exceptions\ResponseException(trim(
|
new Exceptions\ResponseException($this->aResults, trim(
|
||||||
(0 < count($this->aResults) ? implode("\r\n", $this->aResults)."\r\n" : '').
|
(0 < count($this->aResults) ? implode("\r\n", $this->aResults)."\r\n" : '').
|
||||||
$this->sResponseBuffer)), \MailSo\Log\Enumerations\Type::ERROR, true);
|
$this->sResponseBuffer)), \MailSo\Log\Enumerations\Type::ERROR, true);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue