Convert Email Files using C# API

Convert Email Files between Formats in C# Programmatically

One of the key features of Aspose.Email for .NET is the ability to convert email files between various formats. This flexibility facilitates the access to the email content regardless of the device or email client used.

Supported Formats

All formats available for convertion with Aspose.Email for .NET are listed on the Supported File Formats page. You can find the description of their possibilities and advantages, code samples and best practices on the following pages:

  • Convert EML/EMLX to Other Formats - This type of convertion includes conversion of EML/EMLX files to EMLX, HTML, ICS, MBOX, MHTML, MSG, OFT, OST, PST and VCF formats.
  • Convert HTML to Other Formats
  • Convert ICS to Other Formats
  • Convert MBOX to Other Formats
  • Convert MHTML to Other Formats
  • Convert MSG to Other Formats
  • Convert OFT to Other Formats
  • Convert OST to Other Formats
  • Convert PST to Other Formats
  • Convert VCF to Other Formats


Aspose.Email allows you to customize the output files. It means that the library provides options for saving the output files in the desired format as well as specifying the target folder structure, setting conversion options for attachments and embedded objects, controlling the output encoding, and more.

The saving options provided by Aspose.Email ensure compatibility and interoperability with a wide range of email clients, servers, and platforms.

Batch Processing

Aspose.Email makes it possible to import a set of messages from a folder to a file with a target format. For example, it is possible to import more than one EML message into the Inbox folder within a PST file.

Data Integrity

Aspose.Email for .NET ensures the preservation the original formatting, attachments, and multimedia elements of the email during the conversion process. You can learn about the specifics of the items handling in the conversion process on the pages with the required type of conversion. For example, on the [Convert EML to other formats] page, you can find out about the ways of preserving resources when converting EML to HTML without data loss. For this purpose, Aspose.Email provides a set of classes and methods to manipulate resources in a HTML file and a code sample for testing.

Free Trial Version

On the Aspose.Email for .NET official site are offered a free trial version email processing library. With the free trial, developers can explore a wide range of features and functionalities, including email parsing, manipulation, conversion, and more.