Exchange Server 2016 Supported with Aspose.Email for .NET 17.8

aspose-email-for-.NETWe are pleased to announce the release of Aspose.Email for .NET 17.8. With this month’s release, the API now provides complete support for Microsoft Exchange Server 2016. It also includes enhancements to the API functionality for converting messages to HTML. For a complete note on what is new and fixed, please visit the release notes section of Aspose.Email for .NET documentation.

Enhancements

Support for Exchange Server 2016: With the release of Microsoft Exchange Server 2016, we started providing support for this latest Exchange server in our API. This included resolution of issues that were found with this version of Exchange server. We are pleased to share that Aspose.Email for .NET API now completely supports Exchange Server 2016 using the EWS client. Please visit our documentation section, working with Exchange Server using EWS, for complete list of supported features by the API.

Conversion of Messages to HTML without Embedded Resources: This month’s release also includes enhancement to the API functionality of converting messages to HTML. This is achieved using SaveResourceHandler of HtmlSaveOptions class which specifies the destination for saving resources, as shown in following code sample.

var fileName = "EmailWithAttandEmbedded.eml";
var filePath = Path.Combine(dataDir, fileName);

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);

Other Improvements

We have also fixed several bugs reported by our valued customers that further improves the overall API functionality in terms of expected output.

API Resources

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


To keep up with our news, you can follow us on Twitter or follow our Facebook page.

Leave a Reply