Support for Exchange Server 2016 with Aspose.Email for Android via Xamarin

Aspose.Email for Android via Xamarin 17.8 is now available for download. This monthly release of the API brings all the latest improvements in Aspose.Email for .NET API to Xamarin platform. Specifically, it provides the capability of converting email messages to HTML without embedding resources. For a detailed note on what is new and fixed, please visit the release notes section of API documentation.

Major Improvements

This latest version of the API not only includes enhancements from the equivalent .NET version of the API, but also contains all the bug fixes that were part of the .NET API. This keeps the Android API updated with the latest changes that are part of the parent .NET API. As mentioned earlier, we’ll be publishing monthly releases of this new API from now onwards to keep it abreast the .NET equivalent version.

Exporting Messages to HTML without Embedding Resources: Aspose.Email for iOS now supports converting messages to HTML  without embedding resources in output file. This allows users the classical approach of saving resource files along with source HTML file. The SaveResourceHandler provided with HtmlSaveOptions lets you achieve this by specifying the path to save the resources of the message. This is as shown in the code sample below.

MailMessage msg = MailMessage.Load(filePath);
var outFileName = Path.Combine(dataDir, fileName + ".html");

var options = new HtmlSaveOptions()
{
    EmbedResources = false,
    SaveResourceHandler =
        (AttachmentBase attachment, out string resourcePath) =>
        {
            attachment.Save(Path.Combine(dataDir, attachment.ContentId));
            resourcePath = Path.Combine(".", attachment.ContentId);
        }
};

msg.Save(outFileName, options);

Support for Exchange Server 2016: As part of transition from Aspose.Email for .NET, Android application developers can now use this API to provide support for Exchange server 2016 in their emailing applications. This is a worthy feature as even modern emailing services like Outlook 365 have shifted to Exchange Server 2016. Thus, you can right away empower your Android application with support of Outlook 365 using our API.

Other Improvements

The API also contains several fixes that further improve the API functionality as per the expected behavior. Details about such fixes are part of the release notes section for reference.

API Resources

The following API resources can be of help to you in getting started with Aspose.Email API.