Aspose.Email.Cpp
22.7.0
Prefix Reserved
See the version list below for details.
dotnet add package Aspose.Email.Cpp --version 22.7.0
NuGet\Install-Package Aspose.Email.Cpp -Version 22.7.0
<PackageReference Include="Aspose.Email.Cpp" Version="22.7.0" />
<PackageVersion Include="Aspose.Email.Cpp" Version="22.7.0" />
<PackageReference Include="Aspose.Email.Cpp" />
paket add Aspose.Email.Cpp --version 22.7.0
#r "nuget: Aspose.Email.Cpp, 22.7.0"
#:package Aspose.Email.Cpp@22.7.0
#addin nuget:?package=Aspose.Email.Cpp&version=22.7.0
#tool nuget:?package=Aspose.Email.Cpp&version=22.7.0
C++ Email Parsing Library
Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License
Aspose.Email for C++ enables your C++ applications to work with various Outlook® objects including messages, tasks, contacts, calendar, and journal items.
Email File Processing Features
- Create a new email message with properties, such as From, To, Subject, and Body.
- Save the email message in EML, MSG, and MHTML formats.
- Associate human-friendly names to email addresses, to improve accessibility.
- An email can have HTML as well as a text body.
- Set the alternate text of email messages for the Email Readers that cannot display HTML content.
- Fetch and display email header information and email body on screen.
- Save and convert email messages to the supported file formats.
- Read email messages with TNEF attachments and modify the contents of the attachment.
- Check if the email message is regular or a bounced one.
- Add, remove, display, and extract email attachments.
- Embed objects in emails, the size of the attachment depends on the email server.
- Extract embedded objects from email messages.
- Export email to MHT with customized time zone.
- Create distribution list of multiple email contacts and save to storage in MSG format.
- Support to work with MAPI properties.
- Add display or audio reminder to email calendar items.
Supported Read & Write Email Formats
Microsoft Outlook: MSG, PST, OST, OFT
Other: EML, EMLX, MBOX, ICS, VCF, HTML, MHTML
Read-Only Email Formats
Microsoft Outlook: OLM
Supported Email Protocols
- SMTP
- POP3
- IMAP
Get Started
Are you ready to give Aspose.Email for C++ a try? Simply execute Install-Package Aspose.Email.Cpp from Package Manager Console in Visual Studio to fetch the NuGet package. If you already have Aspose.Email for C++ and want to upgrade the version, please execute Update-Package Aspose.Email.Cpp to get the latest version.
Create New Message & Save in EML & MSG Formats
Try executing the below code snippet to see how Aspose.Email for C++ performs in your environment. You may also check the GitHub Repository for other common usage scenarios.
The following code sample shows how to create a new email message and save it in EML & MSG formats using C++.
// create a new instance of MailMessage class
System::SharedPtr<MailMessage> message = System::MakeObject<MailMessage>();
// set subject of the message
message->set_Subject(u"New message created by Aspose.Email for .NET");
// set HTML body
message->set_IsBodyHtml(true);
message->set_HtmlBody(
u"<b>This line is in bold.</b> <br/> <br/><font color=blue>This line is in blue color</font>");
// set sender information
message->set_From(u"from@domain.com");
// add TO recipients
message->get_To()->Add(u"to1@domain.com");
message->get_To()->Add(u"to2@domain.com");
// add CC recipients
message->get_CC()->Add(u"cc1@domain.com");
message->get_CC()->Add(u"cc2@domain.com");
// save message in EML, MSG and MHTML formats
message->Save(dir + u"output.eml", Aspose::Email::SaveOptions::get_DefaultEml());
message->Save(dir + u"output.msg", Aspose::Email::SaveOptions::get_DefaultMsgUnicode());
Send Email via Exchange EWS Client using C++
// create instance of IEWSClient class by giving credentials
System::SharedPtr<IEWSClient> client = GetExchangeEWSClient(GetExchangeTestUser());
// create an instance of type MailMessage
System::SharedPtr<MailMessage> msg = System::MakeObject<MailMessage>();
msg->set_From(MailAddress::to_MailAddress(u"sender@domain.com"));
msg->set_To(MailAddressCollection::to_MailAddressCollection(u"recipient@ domain.com "));
msg->set_Subject(u"Sending message from exchange server");
msg->set_HtmlBody(u"<h3>sending message from exchange server</h3>");
// send the message
client->Send(msg);
Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| native | native is compatible. |
-
- CodePorting.Translator.Cs2Cpp.Framework (>= 22.7.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Aspose.Email.Cpp:
| Package | Downloads |
|---|---|
|
Aspose.Total.Cpp
Aspose.Total for C++ is a complete package of C++ libraries specifically designed to create, manipulate and convert popular file formats from Microsoft Office and PDF without requiring Office or Adobe Automation. C++ API package also includes a specialized library to generate and recognize barcode labels from images with advanced features to customize the barcode generation and recognition process. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 25.11.0 | 485 | 11/27/2025 |
| 25.10.0 | 1,144 | 11/7/2025 |
| 25.9.0 | 2,181 | 10/1/2025 |
| 25.8.0 | 2,425 | 8/26/2025 |
| 25.7.0 | 2,613 | 8/1/2025 |
| 25.6.0 | 2,729 | 6/26/2025 |
| 25.5.0 | 2,679 | 5/30/2025 |
| 25.4.0 | 2,629 | 5/5/2025 |
| 25.3.0 | 3,090 | 3/21/2025 |
| 25.2.0 | 3,142 | 3/3/2025 |
| 25.1.1 | 3,921 | 1/31/2025 |
| 25.1.0 | 2,987 | 1/24/2025 |
| 24.12.1 | 3,903 | 12/23/2024 |
| 24.11.0 | 4,119 | 11/21/2024 |
| 24.10.0 | 3,974 | 10/22/2024 |
| 24.9.0 | 4,281 | 9/19/2024 |
| 24.8.0 | 4,616 | 8/20/2024 |
| 24.7.0 | 4,794 | 7/23/2024 |
| 24.6.0 | 5,609 | 6/20/2024 |
| 24.5.0 | 5,954 | 5/22/2024 |
| 24.4.0 | 15,959 | 4/19/2024 |
| 24.3.0 | 7,102 | 3/18/2024 |
| 24.2.0 | 7,737 | 2/22/2024 |
| 24.1.0 | 7,100 | 1/22/2024 |
| 23.12.0 | 7,858 | 12/22/2023 |
| 23.11.0 | 8,156 | 12/3/2023 |
| 23.10.0 | 8,781 | 10/16/2023 |
| 23.9.0 | 8,617 | 9/20/2023 |
| 23.8.0 | 10,198 | 8/15/2023 |
| 23.7.0 | 9,936 | 7/21/2023 |
| 23.6.0 | 11,014 | 6/28/2023 |
| 23.5.0 | 8,549 | 5/26/2023 |
| 23.4.0 | 9,781 | 4/14/2023 |
| 23.3.0 | 9,548 | 3/21/2023 |
| 23.2.0 | 5,118 | 3/2/2023 |
| 23.1.0 | 14,543 | 1/27/2023 |
| 22.12.0 | 10,160 | 12/22/2022 |
| 22.10.0 | 16,308 | 10/21/2022 |
| 22.9.0 | 10,593 | 9/23/2022 |
| 22.8.0 | 11,457 | 8/18/2022 |
| 22.7.0 | 12,324 | 7/27/2022 |
| 22.6.0 | 12,118 | 6/24/2022 |
| 22.5.0 | 11,199 | 5/23/2022 |
| 22.4.0 | 12,344 | 5/3/2022 |
| 22.3.0 | 11,858 | 3/28/2022 |
| 22.2.0 | 12,492 | 2/23/2022 |
| 21.11.0 | 21,026 | 11/20/2021 |
| 21.10.0 | 12,479 | 10/25/2021 |
| 21.9.0 | 12,225 | 9/29/2021 |
| 21.7.0 | 5,505 | 9/10/2021 |
| 21.6.0 | 15,000 | 7/22/2021 |
| 21.5.1 | 4,301 | 7/31/2023 |
| 21.5.0 | 11,223 | 6/22/2021 |
| 21.4.0 | 4,821 | 5/24/2021 |
| 21.3.0 | 14,399 | 4/21/2021 |
| 21.2.0 | 4,628 | 4/3/2021 |
| 21.1.0 | 4,560 | 4/6/2021 |
| 20.12.0 | 16,031 | 1/29/2021 |
| 20.11.0 | 16,405 | 12/22/2020 |
| 20.10.0 | 4,875 | 11/26/2020 |
| 20.9.0 | 12,120 | 10/21/2020 |
| 20.8.1 | 8,095 | 9/29/2020 |
| 20.8.0 | 4,047 | 9/21/2020 |
| 20.7.0 | 10,598 | 8/20/2020 |
| 20.6.0 | 4,845 | 8/4/2020 |
| 20.5.0 | 13,623 | 6/29/2020 |
| 20.4.0 | 10,735 | 5/25/2020 |
| 20.3.0 | 10,245 | 4/22/2020 |
| 20.2.0 | 8,636 | 3/20/2020 |
| 19.9.0 | 10,926 | 10/30/2019 |
| 19.3.1 | 4,454 | 9/3/2019 |
| 19.3.0 | 5,155 | 4/26/2019 |
| 19.2.0 | 5,199 | 3/13/2019 |
| 19.1.0 | 5,138 | 2/5/2019 |
| 18.11.0 | 5,385 | 11/27/2018 |
| 18.8.0 | 5,417 | 9/14/2018 |
| 18.6.1 | 5,725 | 7/11/2018 |
