A list of concise examples of interaction to Microsoft Exchange Server through EWS Api 2.0.
You can find examples of following operations on an Exchange mailbox
- Read a mail
- Read a mail by its id
- Read mail attachments
- Read list of mails in an order
- Read mails from a shared mailbox
- Read mail headers
- Send a mail
- Send mail using a .eml file
- Forward a mail
- Update mail headers and create custom headers
- Move mails to a folder
- Delete a mail
- Create a folder
<dependency>
<groupId>com.microsoft.ews-java-api</groupId>
<artifactId>ews-java-api</artifactId>
<version>2.0</version>
</dependency>