mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-25 10:09:20 +03:00
Fix some performance issues
This commit is contained in:
parent
5b465f5337
commit
40a0f8b821
5 changed files with 56 additions and 8 deletions
|
|
@ -407,6 +407,8 @@ class SmtpClient extends \MailSo\Net\NetClient
|
|||
|
||||
$this->writeLog('Message data.', \MailSo\Log\Enumerations\Type::NOTE);
|
||||
|
||||
$this->bRunningCallback = true;
|
||||
|
||||
while (!\feof($rDataStream))
|
||||
{
|
||||
$sBuffer = \fgets($rDataStream);
|
||||
|
|
@ -434,6 +436,8 @@ class SmtpClient extends \MailSo\Net\NetClient
|
|||
|
||||
$this->sendRequestWithCheck('.', 250);
|
||||
|
||||
$this->bRunningCallback = false;
|
||||
|
||||
$this->bData = true;
|
||||
|
||||
return $this;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue