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

Ordering the messages from newest to oldest #17

Closed
JeanHules opened this issue Jun 12, 2018 · 1 comment
Closed

Ordering the messages from newest to oldest #17

JeanHules opened this issue Jun 12, 2018 · 1 comment

Comments

@JeanHules
Copy link

I am getting the messages, but it is pulling the oldest emails first. Is there a way to pull the latest emails first?

@dacastro4
Copy link
Owner

Hey @JeanHules. AFAIK there's no way to sorted with oldest first but you can check more query parameters here.
and you can use it doing:
LaravelGmail::message()->subject('test')->unread()->add('before:2004/04/18')->all()

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