mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-09-20 15:45:55 +08:00
Merge pull request #1468 from M66B/master
Fixed managesieve plain login
This commit is contained in:
commit
52af4dacda
|
@ -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