Zend\Mail\Protocol\Imap::examineOrSelect
Examine and select have the same response. The common code for both is in this method
Signature
public function examineOrSelect([string
$command = 'EXAMINE',
[string
$box = 'INBOX']] )
Parameters
$command
—
string
- can be 'EXAMINE' or 'SELECT' and this is used as command
$box
—
string
- which folder to change to or examine
Returns
- bool|array
- false if error, array with returned information
otherwise (flags, exists, recent, uidvalidity)
Errors/Exceptions
-
ExceptionInterface