Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A request for help and an example of SearchCommand #58

Open
joca2 opened this issue Oct 17, 2019 · 0 comments
Open

A request for help and an example of SearchCommand #58

joca2 opened this issue Oct 17, 2019 · 0 comments

Comments

@joca2
Copy link

joca2 commented Oct 17, 2019

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

@joca2 joca2 changed the title Prośba o pomoc i przykład SearchCommand A request for help and an example of SearchCommand Oct 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant