mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-08 08:57:03 +03:00
Add TODO comments for rfc4551
This commit is contained in:
parent
913f1bfb10
commit
ed6be165f9
1 changed files with 17 additions and 2 deletions
|
|
@ -633,8 +633,17 @@ class ImapClient extends \MailSo\Net\NetClient
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$oResult = $this->SendRequestGetResponse(($bIndexIsUid ? 'UID ' : '').'FETCH',
|
$aParams = array($sIndexRange, \array_keys($aFetchItems));
|
||||||
array($sIndexRange, \array_keys($aFetchItems)));
|
/**
|
||||||
|
* TODO:
|
||||||
|
* https://datatracker.ietf.org/doc/html/rfc4551#section-3.3.1
|
||||||
|
* $aParams[1][] = FLAGS
|
||||||
|
* $aParams[] = (CHANGEDSINCE $modsequence)
|
||||||
|
* https://datatracker.ietf.org/doc/html/rfc4551#section-3.3.2
|
||||||
|
* $aParams[1][] = MODSEQ
|
||||||
|
*/
|
||||||
|
|
||||||
|
$oResult = $this->SendRequestGetResponse(($bIndexIsUid ? 'UID ' : '').'FETCH', $aParams);
|
||||||
} finally {
|
} finally {
|
||||||
$this->aFetchCallbacks = array();
|
$this->aFetchCallbacks = array();
|
||||||
}
|
}
|
||||||
|
|
@ -964,6 +973,12 @@ class ImapClient extends \MailSo\Net\NetClient
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* TODO:
|
||||||
|
* https://datatracker.ietf.org/doc/html/rfc4551#section-3.2
|
||||||
|
* $sStoreAction[] = (UNCHANGEDSINCE $modsequence)
|
||||||
|
*/
|
||||||
|
|
||||||
$sCmd = ($bIndexIsUid) ? 'UID STORE' : 'STORE';
|
$sCmd = ($bIndexIsUid) ? 'UID STORE' : 'STORE';
|
||||||
$this->SendRequestGetResponse($sCmd, array($sIndexRange, $sStoreAction, $aInputStoreItems));
|
$this->SendRequestGetResponse($sCmd, array($sIndexRange, $sStoreAction, $aInputStoreItems));
|
||||||
return $this;
|
return $this;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue