Skip to content

How to Process Emails Faster office365 #500

@JesusAttanacio

Description

@JesusAttanacio

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();

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions