Getting Mailbox Information using WebDav Client

Get Mailbox Information from an Exchange Server

To get the Exchange Mailbox information:

  1. Create an instance of the ExchangeClient class.
  2. Specify the Exchange Server, username, password and domain in the ExchangeClient constructor.
  3. Call the ExchangeClient.getMailboxSize() method to get mailbox size.
  4. Call the ExchangeClient.getMailboxInfo method to get an instance of the ExchangeMailboxInfo class.
  5. Get the mailbox information using the ExchangeMailboxInfo class' different properties.

The sample codes below get Exchange mailbox information.