mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-23 15:18:00 +08:00
Fixed managesieve plain login
This commit is contained in:
parent
a72b95a868
commit
dba3c1b715
1 changed files with 1 additions and 2 deletions
|
@ -166,8 +166,7 @@ class ManageSieveClient extends \MailSo\Net\NetClient
|
|||
{
|
||||
$sAuth = \base64_encode($sLoginAuthKey."\0".$sLogin."\0".$sPassword);
|
||||
|
||||
$this->sendRequest('AUTHENTICATE "PLAIN" {'.\strlen($sAuth).'+}');
|
||||
$this->sendRequest($sAuth);
|
||||
$this->sendRequest('AUTHENTICATE "PLAIN" "'.$sAuth.'"');
|
||||
|
||||
$mResponse = $this->parseResponse();
|
||||
$this->validateResponse($mResponse);
|
||||
|
|
Loading…
Reference in a new issue