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 Process Emails Faster office365 #500

Open
JesusAttanacio opened this issue Nov 25, 2024 · 0 comments
Open

How to Process Emails Faster office365 #500

JesusAttanacio opened this issue Nov 25, 2024 · 0 comments
Labels

Comments

@JesusAttanacio
Copy link

JesusAttanacio commented Nov 25, 2024

Currently, I am using the following approach to search for unread emails in my inbox, and then move them to another folder once they are read.

$messages = $folder->messages()->
                    //all()->//all
                    unseen()-> //unread
                    setFetchOrder("desc")-> //ORDER DESC
                    //limit(1)-> //LIMIT MESSAGE
                    get();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants