mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-25 10:09:20 +03:00
Small fixes
This commit is contained in:
parent
7134b65210
commit
9cc791caba
3 changed files with 4 additions and 4 deletions
|
|
@ -600,7 +600,7 @@ class ManageSieveClient extends \MailSo\Net\NetClient
|
|||
'OK' !== \substr($aResponse[\count($aResponse) - 1], 0, 2))
|
||||
{
|
||||
$this->writeLogException(
|
||||
new \MailSo\Sieve\Exceptions\NegativeResponseException(),
|
||||
new \MailSo\Sieve\Exceptions\NegativeResponseException($aResponse),
|
||||
\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))
|
||||
{
|
||||
$this->writeLogException(
|
||||
new Exceptions\NegativeResponseException(trim(
|
||||
new Exceptions\NegativeResponseException($this->aResults, trim(
|
||||
(0 < count($this->aResults) ? implode("\r\n", $this->aResults)."\r\n" : '').
|
||||
$this->sResponseBuffer)), \MailSo\Log\Enumerations\Type::ERROR, true);
|
||||
}
|
||||
|
|
@ -711,7 +711,7 @@ class SmtpClient extends \MailSo\Net\NetClient
|
|||
else
|
||||
{
|
||||
$this->writeLogException(
|
||||
new Exceptions\ResponseException(trim(
|
||||
new Exceptions\ResponseException($this->aResults, trim(
|
||||
(0 < count($this->aResults) ? implode("\r\n", $this->aResults)."\r\n" : '').
|
||||
$this->sResponseBuffer)), \MailSo\Log\Enumerations\Type::ERROR, true);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue