Does aspose.email support Office 365 email system?

We are going to migrate from exchange server to office 365 email system. Does aspose.email support it? We use this API to download emails from exchange server now connecting exchange server service.

Hi Elangovan,


Thank you for posting your inquiry.

Yes, Aspose.Email API provides support for working with Office 365 email system. We have recently provided support for Exchange Server 2016 on Office 365. You can use the IEWSClient to connect to Office 365, which is now based on Exchange Server 2016, using the following sample code. Please try the following sample code to connect to Office 365 and test all your functionality and let us know if you have any further query in this regard.

Sample Code

p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Helvetica Neue'; color: #454545}

const string mailboxUri = "https://outlook.office365.com/ews/exchange.asmx";

const string domain = @"";

const string username = @"username@companyName.onmicrosoft.com";

const string password = @"password";

NetworkCredential credentials = new NetworkCredential(username, password, domain);

IEWSClient client = EWSClient.GetEWSClient(mailboxUri, credentials);