.NET APIs to manipulate Email documents

Develop high performance applications to Create, Manipulate or Convert email formats including MSG, EML, EMLX & MHT without requiring Microsoft Outlook.

  Download Free Trial
Aspose.Email for .NET

Aspose.Emailfor .NET

 
 

Aspose.Email for .NET is a complete set of Email Processing APIs to be used with .NET Framework, .NET Core & Xamarin platforms, enabling you to build cross-platform applications having the ability to create, manipulate, convert and transmit emails without using Microsoft Outlook.

Aspose.Email for .NET makes it easier to work with a number of Outlook message formats such as MSG, EML, EMLX and MHT as well as provides the ability to manage message storage files such as Personal Storage Files (PST) & Offline Storage Files (OST). Developers can use the API to transmit messages via a number of popular protocols like POP3, IMAP & SMTP or connect with Microsoft Exchange Server via WebDav and Exchange Web Services to send & receive emails with attachments.

 

Advanced Email Processing API Features

 

 

Send email with HTML formatting & attachments

 

Mail merge & bulk mail sending functionality

 

List & download messages from POP3 & IMAP mail servers

 

List, download & send messages via Microsoft Exchange Servers

 

Create & update tasks using iCalendar

 

Load messages from file or stream

 

Save messages to file or stream

 

Inter-convert message formats

 

Manipulate message Personal & Offline storage files

 

Add messages, contacts, tasks, notes, calendar items & distribution lists to PST

 

Extract messages, contacts & calendar items from PST

 

Generate specified recurrence patterns as per iCalendar RFC

 

Manipulate Calendar items using Exchange Web Service (EWS) client

 

Add embedded objects & attachments to emails

 

Include text & HTML mail body

 

Mail merge from a template

 

Send iCalendar compliant appointments or meetings

 

Create customized mail headers.

Dynamically Convert MSG to EML, HTML & MHTML

Aspose.Email is a good choice if you are looking for an API to convert MSG files to EML, HTML or MHTML formats. It provides easy-to-use interfaces for the conversion process while hiding all the ugly details of the underlying format specifications. All you need to do is to load the source file in Aspose.Email object model call the Save method with appropriate parameters. It is really that simple!

Save message in different formats - C#

// load the file to be converted
using (var message = Aspose.Email.MailMessage.Load(dir + "template.msg"))
{
    // save in different formats
    message.Save(dir + "output.eml", Aspose.Email.SaveOptions.DefaultEml);
    message.Save(dir + "output.html", Aspose.Email.SaveOptions.DefaultHtml);
    message.Save(dir + "output.mhtml", Aspose.Email.SaveOptions.DefaultMhtml);
}

Manage Calendar Objects with iCalendar API

Aspose.Email provides you the capability to create and save Outlook Calendar objects through its iCalendar API. Not only you can extract the Calendar objects in various formats and save them as MSG or ICS files but you can also send, retrieve, update and cancel meeting requests through message sending protocols.

Send & Receive Emails via SMTP, POP3 & IMAP

Aspose.Email for .NET empowers you to create complex email messages with attachments, HTML formatting and images, and send them to an email address using SMTP protocol. It also allows you to log onto the POP3 servers by username and password or APOP authentication to perform operations like view mailbox size & message count, retrieve the full message or just the headers, delete messages from server and so on.

Aspose.Email for .NET also supports IMAP protocol features including authentication, create, delete, select, query folders, get and save messages, change message flags and basic IMAP commands.

Connect to Microsoft Exchange Server

Aspose.Email for .NET provides the ability to access emails residing on Microsoft Exchange Servers. You can list messages from any folder, download messages and save them in supported message formats. Emails and meeting invitations can also be sent using the Exchange Server's WebDav & Exchange Web Services. The Email .NET API also supports Unified Messaging operations available in Exchange Web Service (EWS).

Complete Recurrence Pattern Solution

Aspose.Email for .NET allows you to easily and reliably calculate occurrence dates and times for even the most complex recurrence patterns. You can dynamically produce & consume recurrence patterns in the iCalendar format. Aspose.Email for .NET further allows you to use yearly, monthly, weekly, daily, hourly, minutely & secondly recurrence patterns, and can represent recurrence patterns in your windows, web or mobile applications. The recurrence patterns implemented by Aspose.Email for .NET are coherent with schedule related elements of the iCalendar RFC (2445).

Manage Message Storage Files

You can load Microsoft Outlook PST & OST files from disk or a stream, get folder and sub-folder information from the message archive, retrieve message specific details such as subject, sender, recipient and save messages to either disk or stream.

Microsoft Office Automation – Not Needed

Aspose.Email for .NET is built using managed code that does not need Microsoft Office or Microsoft Outlook to be installed on the machine to work with emails processing. It is a perfect Microsoft Outlook automation alternative in terms of supported features, security, stability, scalability, speed and price.

 

Support and Learning Resources

 

Aspose.Email offers individual Email APIs for other popular development environments as listed below: