Does Aspose Email Java API supports MS Office 365?

Hello,


We are going to take Aspose license for Email (Java). We will be using Aspose Java Email API for fetching out of office flag and automatic replies but before that we would like to confirm if this
API supports Outlook 365 (Office 365 suite) or not? Please confirm.


Thanks

Hi,

Thank you for contacting Aspose support team.

Aspose.Email can be used to access the Office365 account. You may please check this feature using following sample code and share the feedback.

IEWSClient client = EWSClient.*getEWSClient*(**"https://outlook.office365.com/ews/exchange.asmx"** , **"user@domainonmicrosoft.com"** , **"password"** );
ExchangeMessageInfoCollection coll = client.listMessages(**"Inbox"** );
System.***out*** .println(coll.size());