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

How to search by date? #255

Open
alexv96 opened this issue Dec 30, 2020 · 1 comment
Open

How to search by date? #255

alexv96 opened this issue Dec 30, 2020 · 1 comment

Comments

@alexv96
Copy link

alexv96 commented Dec 30, 2020

I have been checking the documentation but I can't find the search by date

For example, bring all mail from 2020-12-28 onwards

@Jharisoalaza
Copy link

You can use function getMessagesByCriteria

$imap->getMessagesByCriteria('SINCE "18-12-2020"' );

You can find all syntaxes of criteria here

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

2 participants