Skip to content
This repository was archived by the owner on Jun 18, 2024. It is now read-only.
This repository was archived by the owner on Jun 18, 2024. It is now read-only.

shared mailbox folder is empty #299

@lijinlongpq

Description

@lijinlongpq

Today (23/4/2015) i updated my ews-java-api, the previous one i downloaded is on 3/3/2015. I found that the new one a lot of classes seperated into different packages under microsoft.exchange.webservices.data.
My problem is that i cannot access to a shared mailbox by using the new api. But the previous one is working fine. Below is my code:

Mailbox mailbox = new Mailbox("support@mycompany.com");
System.out.println("Mailbox IsValid: " + mailbox.isValid());
FolderId InboxFolderId = new FolderId(WellKnownFolderName.Inbox, mailbox);
System.out.println("IsValid: " + InboxFolderId.isValid());
System.out.println("Inbox Folder: " + InboxFolderId);

The output is:

Mailbox IsValid: true
IsValid: false

Inbox Folder:
The mailbox is valid, but the Inbox folder ID is empty.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions