Skip to content

A request for help and an example of SearchCommand #58

@joca2

Description

@joca2

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions