Best option for accessing emails on a customer’s hosted Exchange. Probably behind various firewalls which may need to be configured.
Hi Mark,
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.
Brilliant thanks!
Hi Mark,
Aspose.Email supports connecting to outlook office 365 in the same manner as other exchange servers. Following is the sample code to connect to outlook account and fetch information. Please give it a try and share your feedback with us.
string mailboxUri = “https://outlook.office365.com/EWS/Exchange.asmx”;
IEWSClient client = EWSClient.GetEWSClient(mailboxUri, "user", "password");
ExchangeMailboxInfo mailboxInfo = client.GetMailboxInfo();