Aspose.Email 22.9.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Aspose.Email --version 22.9.0                
NuGet\Install-Package Aspose.Email -Version 22.9.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Aspose.Email" Version="22.9.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aspose.Email --version 22.9.0                
#r "nuget: Aspose.Email, 22.9.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Aspose.Email as a Cake Addin
#addin nuget:?package=Aspose.Email&version=22.9.0

// Install Aspose.Email as a Cake Tool
#tool nuget:?package=Aspose.Email&version=22.9.0                

Support for OLM Format Chinese Text .NET Mail API

Version 22.9.0 NuGet

banner

Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License

Aspose.Email for .NET allows you to work with MIME messages, appointments, Microsoft Outlook® items, Outlook storage files, various clients & protocols SMTP, POP3, IMAP, Exchange EWS, Exchange WebDav, Gmail, Thunderbird, Zimbra, IBM Notes & AMP HTML emails and more.

Email API Features

  • Open or save emails in Microsoft® Outlook® & other formats.
  • Conversion of email files to various formats.
  • Parse, read & save Microsoft® Outlook® emails, PST & OST files.
  • Comprehensive support for MIME messages.
  • Send & receive emails via POP3, IMAP, Microsoft® Exchange Server.
  • Send emails in bulk while performing mail merge via various types of data sources.
  • Send iCalendar compliant messages.
  • Consume and produce recurrence patterns in the iCalendar (RFC 2445) format.
  • Tools to verify email addresses, email syntax, email domain, mail server & MX records.
  • Extract objects from various mail storage formats as well as create email storage files from scratch.

What's new in v22.9.0

Support for OLM Email Format

Support has been added for the OLM extension which is a Microsoft Outlook® format for macOS®. These are somewhat similar to the PST extension of Outlook® for Windows®. OLM are binary files with Application/octet-stream MIME type.

List & Order Messages in Microsoft Graph

Added the OrderBy feature for listing the email messages in the Microsoft Graph® Client.

IGraphClient client = GraphClient.GetClient(provider, TenantId);

var builder = new GraphQueryBuilder();

// create orderby messages query 'DESC'
builder.SentDate.OrderBy(false);
var messagePageInfo = client.ListMessages(KnownFolders.Inbox, new PageInfo(10), builder.GetQuery());
var messages = messagePageInfo.Items;

builder.Clear();

// create orderby messages query 'ASC'
builder.SentDate.OrderBy(true);
messagePageInfo = client.ListMessages(KnownFolders.Inbox, new PageInfo(10), builder.GetQuery());
messages = messagePageInfo.Items;

Send Email containing Images with SendGrid

In some previously instances, the images were broken after sending email with SendGrid. This issue has now been resolved.

EML to MSG Conversion with Chinese Text

Previously there was an EML to MSG conversion issue in case of the Chinese text. This issue has now been resolved.

For a complete list of features, enhancements, and bug fixes in this release please visit, Aspose.Email for .NET 22.9 Release Notes.

Supported Read & Write Email Formats

Microsoft® Outlook®: MSG, PST, OST, OFT
Email: EML, EMLX, MBOX
macOS® Outlook: OLM
iCal®: ICS
Virtual Card: VCF
Web: HTML, MHTML

Save As Email Formats

Microsoft® Outlook®: OLM

Platform Independence

Aspose.Email for .NET is implemented using Managed C# and can be used with any .NET based languages including C#, VB.NET, J#, and so on. Aspose.Email for .NET can be integrated with any kind of application on Windows, Linux, Mac OS X, and Xamarin Platforms.

Get Started

Are you ready to give Aspose.Email for .NET a try? Simply execute Install-Package Aspose.Email from Package Manager Console in Visual Studio to fetch the NuGet package. If you already have Aspose.Email for .NET and want to upgrade the version, please execute Update-Package Aspose.Email to get the latest version.

Create an Email Message & Save it in MSG Format using C# Code

You can execute the below code snippet to see how Aspose.Email API performs in your environment or check the GitHub Repository for other common usage scenarios.

// create an instance of the MailMessage class
var message = new MailMessage();
// set from, to, subject and body properties
message.From = "sender@domain.com";
message.To = "receiver@domain.com";
message.Subject = "This is test message";
mamessageilMsg.Body = "This is test body";
// create an instance of the MapiMessage class and pass object of MailMessage as argument
var msg = MapiMessage.FromMailMessage(message);
// save file on disc
msg.Save(dir + "output.msg");

Send Bulk Emails via SMTP

// create SmtpClient as client and specify server, port, user name and password
SmtpClient client = new SmtpClient("mail.server.com", 25, "Username", "Password");

// create instances of MailMessage class and Specify To, From, Subject, and Message
MailMessage message1 = new MailMessage("msg1@from.com", "msg1@to.com", "Subject1", "message1, how are you?");
MailMessage message2 = new MailMessage("msg1@from.com", "msg2@to.com", "Subject2", "message2, how are you?");
MailMessage message3 = new MailMessage("msg1@from.com", "msg3@to.com", "Subject3", "message3, how are you?");

// create an instance of MailMessageCollection class
MailMessageCollection manyMsg = new MailMessageCollection();
manyMsg.Add(message1);
manyMsg.Add(message2);
manyMsg.Add(message3);

// send emails in bulk
client.Send(manyMsg);

Use C# to Create an ICS Appointment

// create and initialize an instance of the Appointment class
var appointment = new Appointment(
  "Meeting Room 3 at Office Headquarters", // Location
  "Monthly Meeting", // Summary
  "Please confirm your availability.", // Description
  new DateTime(2015, 2, 8, 13, 0, 0), // Start date
  new DateTime(2015, 2, 8, 14, 0, 0), // End date
  "from@domain.com", // Organizer
  "attendees@domain.com"); // Attendees

// save the appointment to disk in ICS format
appointment.Save("output.ics", AppointmentSaveFormat.Ics);

Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net20 is compatible.  net35 is compatible.  net35-client is compatible.  net40 is compatible.  net40-client is compatible.  net403 was computed.  net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (11)

Showing the top 5 NuGet packages that depend on Aspose.Email:

Package Downloads
Aspose.Total

Aspose.Total for .NET is the most complete package of all .NET file format APIs offered by Aspose. It empowers developers to create, edit, render, print and convert between a wide range of popular document formats within any .NET, C#, ASP.NET and VB.NET applications.

TresTechnologies.App.Shared

Shared components for use with applications build for the Tres API,

Weavy.Core

A class library containing core business logic, data access and utility methods required by Weavy.

AutomationFramework_NetCore

AT Net Core Automation Framework

AsposeHelpers

Aspose helpers

GitHub repositories (2)

Showing the top 2 popular GitHub repositories that depend on Aspose.Email:

Repository Stars
aspose-words/Aspose.Words-for-.NET
Aspose.Words for .NET examples, plugins and showcases
JasonBock/Rocks
A mocking library based on the Compiler APIs (Roslyn + Mocks)
Version Downloads Last updated
24.11.0 7,545 11/30/2024
24.10.0 17,843 10/31/2024
24.9.0 26,033 9/30/2024
24.8.0 31,767 8/30/2024
24.7.0 35,174 7/31/2024
24.6.0 40,290 6/30/2024
24.5.0 74,973 5/31/2024
24.4.0 53,599 4/30/2024
24.3.0 112,619 3/31/2024
24.2.0 43,139 2/29/2024
24.1.0 78,243 1/31/2024
23.12.0 119,022 12/30/2023
23.11.0 36,131 11/30/2023
23.10.0 59,364 10/31/2023
23.9.0 48,623 9/30/2023
23.8.0 38,092 8/31/2023
23.7.0 69,429 7/31/2023
23.6.0 45,469 6/30/2023
23.5.1 42,497 6/10/2023
23.5.0 26,668 5/31/2023
23.4.0 231,143 4/30/2023
23.3.0 60,129 3/31/2023
23.2.0 88,048 2/28/2023
23.1.0 77,249 1/31/2023
22.12.0 113,457 12/31/2022
22.11.0 62,222 11/30/2022
22.10.0 117,837 10/31/2022
22.9.0 95,090 9/30/2022
22.8.0 109,104 8/29/2022
22.7.0 62,056 7/30/2022
22.6.0 57,631 7/1/2022
22.5.0 84,374 5/30/2022
22.4.0 62,124 4/30/2022
22.3.0 68,263 3/31/2022
22.2.0 79,888 2/28/2022
22.1.0 93,755 1/31/2022
21.12.0 397,499 12/24/2021
21.11.0 32,133 11/26/2021
21.10.0 91,450 10/29/2021
21.9.0 87,330 9/30/2021
21.8.1 52,184 9/6/2021
21.8.0 30,033 8/31/2021
21.7.0 81,221 7/30/2021
21.6.0 76,297 6/29/2021
21.5.0 55,175 5/31/2021
21.4.0 74,381 4/30/2021
21.3.0 34,192 3/30/2021
21.2.0 40,149 2/26/2021
21.1.1 150,283 2/1/2021
21.1.0 17,982 1/28/2021
20.12.0 108,882 12/29/2020
20.11.0 57,094 11/24/2020
20.10.0 59,876 11/2/2020
20.9.1 19,886 10/1/2020
20.9.0 5,194 9/28/2020
20.8.0 41,660 8/29/2020
20.7.0 44,647 7/30/2020
20.6.0 126,105 6/29/2020
20.5.0 41,555 5/30/2020
20.4.0 41,827 4/30/2020
20.3.0 39,895 3/31/2020
20.2.0 77,849 2/27/2020
20.1.0 23,304 1/30/2020
19.12.0 40,670 12/27/2019
19.11.0 227,022 11/29/2019
19.10.0 15,700 10/30/2019
19.9.0 63,392 9/28/2019
19.8.0 34,696 8/28/2019
19.7.0 14,750 7/30/2019
19.6.0 18,220 6/29/2019
19.5.0 45,618 6/1/2019
19.4.0 9,645 4/26/2019
19.3.0 11,516 3/29/2019
19.2.0 18,988 2/27/2019
19.1.1 8,562 2/4/2019
19.1.0 6,057 1/31/2019
18.12.0 22,313 12/25/2018
18.11.0 52,702 11/29/2018
18.10.0 11,198 10/24/2018
18.9.0 8,810 9/27/2018
18.8.0 11,396 8/27/2018
18.7.0 15,316 7/27/2018
18.6.0 18,336 6/27/2018
18.5.1 12,410 5/25/2018
18.4.0 9,793 4/26/2018
18.3.0 18,178 3/24/2018
18.2.0 21,559 2/21/2018
18.1.0 14,247 1/18/2018
17.12.0 45,965 12/18/2017
17.11.0 97,694 11/14/2017
17.10.0 22,350 10/9/2017
17.9.0 10,246 9/11/2017
17.8.0 34,478 8/8/2017
17.7.0 10,257 7/7/2017
17.6.0 17,576 6/8/2017
17.5.0 13,253 5/9/2017
17.4.0 55,139 4/7/2017
17.3.0 33,184 3/23/2017
17.2.0 19,200 2/16/2017
17.1.0 21,622 1/17/2017
16.12.0 316,012 12/19/2016
16.11.0 4,294 11/10/2016
16.10.0 18,988 10/10/2016
6.9.0 9,963 9/9/2016
6.8.0 23,925 8/10/2016
6.7.0 47,001 7/8/2016
6.6.0 10,451 6/4/2016
6.5.0 4,587 5/6/2016
6.4.0 22,117 4/11/2016
6.3.0 8,250 3/7/2016
6.2.0 85,792 2/5/2016
6.1.0 8,285 12/31/2015
6.0.0 5,654 12/7/2015
5.9.1 3,903 11/26/2015
5.9.0 16,248 11/5/2015
5.8.0 41,321 10/7/2015
5.7.0 5,418 9/8/2015
5.6.0 24,089 8/8/2015
5.5.0 14,899 7/9/2015
5.4.0 4,572 6/9/2015
5.3.0 6,540 5/5/2015
5.2.0 4,152 4/6/2015
5.1.0 3,499 3/10/2015
5.0.0 6,117 2/9/2015
4.9.0 6,052 1/4/2015
4.8.0 6,291 12/4/2014
4.7.0 4,279 11/3/2014
4.6.0 3,226 10/6/2014
4.5.0 6,192 9/4/2014
4.4.0 40,058 7/30/2014
4.3.0 6,952 7/2/2014
4.2.0 3,222 6/2/2014
4.1.0 3,514 5/2/2014
4.0.0 7,574 3/28/2014
3.9.0 5,163 3/2/2014
3.8.0 7,896 1/28/2014
3.7.0 24,490 12/30/2013
3.6.0 5,987 11/27/2013
3.5.0 3,438 11/1/2013
3.4.0 3,353 10/1/2013
3.3.0 3,431 8/26/2013
3.2.0 3,153 7/29/2013
3.1.0 3,441 6/27/2013
3.0.0 4,700 5/29/2013
2.9.0 3,867 4/29/2013
2.8.0 6,094 3/26/2013
2.7.0 4,482 2/27/2013
2.6.0 3,313 1/28/2013
2.5.0 3,319 12/26/2012
2.4.0 3,258 11/27/2012
2.3.0 5,648 10/30/2012
2.2.0 3,384 9/27/2012
2.1.0 6,948 8/29/2012
2.0.0 3,293 7/30/2012
1.9.0 3,398 6/28/2012
1.8.0 3,199 5/27/2012
1.7.1 4,865 5/9/2012
1.7.0 3,003 4/29/2012
1.6.0 3,057 3/26/2012
1.5.0 3,132 2/24/2012
1.4.0.1 3,124 2/16/2012
1.4.0 3,636 2/2/2012
1.3.0 5,445 1/24/2012