We are pleased to announce the release of Aspose.Email for .NET 17.10. This release includes enhancement for filtering appointments from Exchange server using Exchange Web Service (EWS) client of the API. It also includes improvements in terms of bug fixes which further add to the overall functionality of the API. For a detailed note on what is new and fixed, please visit the release notes section of API documentation.
Enhancements in Aspose.Email for .NET 17.10
Filtering Appointments using EWS Client: The EWS client of the API already provides the capability of filtering messages from Exchange server. This month’s release further enhances the functionality of searching items on Exchange server. You can now filter appointments from Exchange server mailbox based on:
- Date and Time
The ExchangeQueryBuilder class is the user interface in this case. The following code samples show filtering appointments from Exchange server using IEWSClient of the API.
Filtering Appointments by Date Time
IEWSClient client = EWSClient.GetEWSClient(mailboxUri, username, password, domain); DateTime startTime = new DateTime(2017,09, 15); DateTime endTime = new DateTime(2017, 10, 10); ExchangeQueryBuilder builder = new ExchangeQueryBuilder(); builder.Appointment.Start.Since(startTime); builder.Appointment.End.BeforeOrEqual(endTime); MailQuery query = builder.GetQuery(); Appointment appointments = client.ListAppointments(query);
Filtering Appointments by Recurrence
builder = new ExchangeQueryBuilder(); builder.Appointment.IsRecurring.Equals(false); query = builder.GetQuery(); appointments = client.ListAppointments(query);
In addition to enhancement mentioned above, this month’s release also includes several bug fixes that add to the overall stability of the API in terms of expected output. Details about the fixed issues can be found in the release notes section of the API.
The following API resources can be of help to you in getting started with Aspose.Email API.
- Product Documentation – Provides detailed examples of working with the API
- API Reference Guide – Details all the namespaces and classes of the API
- GitHub Examples – Provides ready to run API example
- Support Forum – Write to us if you have any query or inquiry about the API