Best option for accessing emails on a customer’s hosted Exchange. Probably behind various firewalls which may need to be configured.
Thank you for writing to Aspose Support team.
Aspose.Email API provides the Exchange namespace for accessing Exchange server using the Exchange protocols. You can connect to Exchange 2003, 2007 using the WebDav Protocol as well as connect to the Exchange 2007, 2010 and 2013 using the Exchange Web Service (EWS) of the API. Please have a look at our documentation article, Connecting to Exchange Server, for further information in this regard.
You may also go through other articles in our, Programming Exchange, documentation section to have an idea about other features supported by the API for retrieving information from Exchange servers. Please let us know if we can be of any additional help to you in this regard.
string mailboxUri = “https://outlook.office365.com/EWS/Exchange.asmx”;<o:p></o:p>
IEWSClient client = EWSClient.GetEWSClient(mailboxUri, "user", "password");
ExchangeMailboxInfo mailboxInfo = client.GetMailboxInfo();