Skip to content

Unable to retrieve more than 1 item using FindItems #318

@lheneks

Description

@lheneks

Hello,
I am attempting to use this package to read the email from an inbox and look for attachments. The problem I am having is that it will only ever return 1 item from the inbox, no matter what I do to the ItemView PageSize and Offset.

For example, the following will only return 1 result even though I know there are significantly more messages in the inbox (it's my inbox).

const results = await exch.FindItems(ews.WellKnownFolderName.Inbox, new ews.ItemView(100))

Stepping through the Request execution in SimpleServiceRequestBase.js, I see the request has the necessary values (IndexedPageViewItemView.MaxEntriesReturned is 100 in the xml). I'm not sure what the issue could be.

Can someone out there verify that they can retrieve more than one item from an inbox?

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