Ler Emails da Caixa de Correio de Outro Usuário usando WebDav

Contents
[ ]

O trecho de código abaixo demonstra como usar a classe ExchangeClient para acessar outra caixa de correio.

// For complete examples and data files, please go to https://github.com/aspose-email/Aspose.Email-for-Java
// Create instance of ExchangeClient class by giving credentials
ExchangeClient client = new ExchangeClient("http://MachineName/exchange/Username", "Username", "password", "domain");
// Get Exchange mailbox info of other email account
ExchangeMailboxInfo mailboxInfo = client.getMailboxInfo("otherUser@domain.com");