Browse our Products
Aspose.Email for .NET 26.1 Release Notes
This page contains release notes information for Aspose.Email for .NET 26.1
All Changes
| Key | Summary | Category |
|---|---|---|
| EMAILNET-41576 | Add asynchronous methods to Aspose Google client. | Enhancement |
| EMAILNET-41502 | FindAndExtractSoftDeletedItems method not detecting deleted messages in OST files | Bug |
| EMAILNET-41677 | MSG to EML CSS conversion of !important tag | Bug |
New Features
Asynchronous Methods Added to Aspose Google Client
The Aspose Google client now supports fully asynchronous operations, enabling non‑blocking calls for Gmail, Calendar, and Contacts services. This improves application responsiveness and scalability when integrating with Google APIs.
Public API Changes:
- IGmailClientAsync - Provides an interface with asynchronous operations for the Gmail client.
Code Example:
static async Task Main()
{
IGmailClientAsync client = GmailClient.GetInstanceAsync(clientId, clientSecret, refreshToken, email);
var messages = await client.ListMessagesAsync();
Console.WriteLine("Messages Count :" + messages.Count);
var msg = await client.FetchMessageAsync(messages[0].Id);
Console.WriteLine("FetchMessage First :" + msg.Subject);
var filters = client.ListFilters();
Console.WriteLine("Filters Count :" + filters.Count);
ExtendedCalendar[] calendars = await client.ListCalendarsAsync();
Console.WriteLine("Calendars Count :" + calendars.Length);
Appointment[] appointments = await client.ListAppointmentsAsync(calendars[0].Id);
Console.WriteLine("Appointments Count :" + appointments.Length);
Contact[] contacts = await client.GetAllContactsAsync();
Console.WriteLine("GetAllContacts Count :" + contacts.Length);
}