Hello
Could you help by sharing an example using SearchCommand with for example DateCriterion and FlagCriterion returning an email list similar to imap_fetch_overview or any, similar to /example/imap-client-fetch.php?
In addition, I noticed trying to use:
$query = (new Query())->with(DateCriterion::since(new \DateTimeImmutable('2019-10-10')));
that in response I have
["line": "Genkgo\Mail\Protocol\Imap\Response\TaggedResponse": private] => string (87) "BAD Error in IMAP command SEARCH: Invalid search date parameter (0.001 + 0.000 secs). "
If I'm using $searched = imap_search($imap_stream, "SINCE 10-Oct-2019"); I have the expected response with a list of found emails.
Hello Could you help by sharing an example using
SearchCommand
with for exampleDateCriterion
andFlagCriterion
returning an email list similar toimap_fetch_overview
or any, similar to/example/imap-client-fetch.php
?In addition, I noticed trying to use:
$query = (new Query())->with(DateCriterion::since(new \DateTimeImmutable('2019-10-10')));
that in response I have["line": "Genkgo\Mail\Protocol\Imap\Response\TaggedResponse": private] => string (87) "BAD Error in IMAP command SEARCH: Invalid search date parameter (0.001 + 0.000 secs). "
If I'm using$searched = imap_search($imap_stream, "SINCE 10-Oct-2019");
I have the expected response with a list of found emails.Thank you for your help Jacek