-
-
Notifications
You must be signed in to change notification settings - Fork 182
Closed
Labels
Description
I am trying to get the most recent message only the first one but with the custom I only get null, I don't know if the query is wrong or if it is missing some parameter.
$oClient = $cm->make([
'host' => 'outlook.office365.com',
'port' => 993,
'protocol' => 'imap',
'encryption' => 'ssl',
'validate_cert' => true,
'username' => 'hola@outlook.cl',
'password' => '******',
]);
$oClient->connect();
$messages = $oClient->getFolder('INBOX')->query()->WHERE('RECENT')->get();
dd($messages);