mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-25 10:09:20 +03:00
MailSo update (quota)
This commit is contained in:
parent
67508db71b
commit
dde42c6190
9 changed files with 221 additions and 209 deletions
|
|
@ -948,8 +948,20 @@ class ImapClient extends \MailSo\Net\NetClient
|
|||
{
|
||||
$aReturn = array(
|
||||
(int) $oImapResponse->ResponseList[3][1],
|
||||
(int) $oImapResponse->ResponseList[3][2]
|
||||
(int) $oImapResponse->ResponseList[3][2],
|
||||
0,
|
||||
0
|
||||
);
|
||||
|
||||
if (5 < count($oImapResponse->ResponseList[3])
|
||||
&& 'MESSAGE' === strtoupper($oImapResponse->ResponseList[3][3])
|
||||
&& is_numeric($oImapResponse->ResponseList[3][4])
|
||||
&& is_numeric($oImapResponse->ResponseList[3][5])
|
||||
)
|
||||
{
|
||||
$aReturn[2] = (int) $oImapResponse->ResponseList[3][4];
|
||||
$aReturn[3] = (int) $oImapResponse->ResponseList[3][5];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue