Developer Guide
Aspose.Email for .NET is a library for handling a wide range of email-related tasks in .NET applications. It enables developers to process, convert, and manage emails programmatically, supporting scalable integration into custom solutions.
Aspose.Email offers a plugin-based architecture. Currently, the primary available plugin is the Email Format Converter, which allows efficient conversion between email formats such as EML, MSG, HTML, MHT, and MHTML.
Key Features
- Email Format Conversion: Convert emails between popular formats (EML, MSG, HTML, MHT, MHTML).
- Asynchronous Processing: High performance with async/await support.
- Flexible Output: Save results to folders or implement custom output handling.
- Extensibility: Easily add or use new plugins as they become available.
Getting Started
Install the Aspose.Email package via NuGet:
Install-Package Aspose.Email
Example: Basic Email Conversion
Below is a brief example using the Email Format Converter plugin to convert an EML file to HTML:
using Aspose.Email.LowCode;
using System.IO;
using System.Threading.Tasks;
// ...
using var input = File.OpenRead("email.eml");
var handler = new FolderOutputHandler(@"C:\Output");
await Converter.ConvertToHtml(input, "email.eml", handler);
Extending Functionality
Aspose.Email for .NET is designed to be extensible—future plugins will further enhance capabilities for tasks such as email analysis, automation, or integration with external services. Stay updated with the Aspose.Email API Reference for new plugin releases and advanced scenarios.