mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-08 00:47:04 +03:00
Merge pull request #1468 from M66B/master
Fixed managesieve plain login
This commit is contained in:
commit
52af4dacda
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);
|
$sAuth = \base64_encode($sLoginAuthKey."\0".$sLogin."\0".$sPassword);
|
||||||
|
|
||||||
$this->sendRequest('AUTHENTICATE "PLAIN" {'.\strlen($sAuth).'+}');
|
$this->sendRequest('AUTHENTICATE "PLAIN" "'.$sAuth.'"');
|
||||||
$this->sendRequest($sAuth);
|
|
||||||
|
|
||||||
$mResponse = $this->parseResponse();
|
$mResponse = $this->parseResponse();
|
||||||
$this->validateResponse($mResponse);
|
$this->validateResponse($mResponse);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue