Skip to content

Cannot fetch new mails #451

Description

@helmutchecker

I want to write a method to wait for an incoming mails matching a given search Filter. Therefore, I am using service.FindItems to fetch items in a loop each 5 seconds. Unfortunately, it finds existing mails and prints e.g. count 8 every 5 seconds, but when a new mail with same matching search criteria is received, it is not registered and count stays at 8.

After restarting the code, the initial count is then 9 and when receiving new mails, it is staying at 9 until I restart the code.

Did I misunderstand something about how the library should be working, or do I need to follow a different approach?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions