You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Thank you for your help
Jacek
The text was updated successfully, but these errors were encountered:
joca2
changed the title
Prośba o pomoc i przykład SearchCommand
A request for help and an example of SearchCommand
Oct 17, 2019
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
The text was updated successfully, but these errors were encountered: