Aspose.Email for C++ is an Email Programming API that makes it easier for the developers to work with a number of formats such as MSG, EML, EMLX & MHT. Application developers can create, convert or manipulate most commonly used message formats within the native C++ applications, without relying on Office Automation or Microsoft Outlook application.
Aspose.Email for C++ is best suited for mail management features such as content editing, manipulation of recipients, extraction & manipulation of MAPI properties and attachments as well as for the advanced features such as message storage files management including PST & OST. Currently, API supports SMTP, POP3 and IMAP communication protocols for email transmission.
At a Glance
An overview of Email Library for C++.
- Create PST & OST files
- Manage Messages in PST
- Manage Contacts in PST
- Manage Calendar Items in PST
- Manage Tasks, Notes, Journals
- Recurrence Patterns
- Create Appointment
- Export Appointment to ICS file
- Format Appointment text
- Read Appointment Info
- Create plain & HTML emails
- Load Variety of Formats
- Interconvert Messages
- Support for Templates
- Alternative Message Bodies
- Manage Embedded Objects
- Manage Attachments
- Save Message as Draft
- Manage Headers
Aspose.Email for C++ can be used in any C++ applications developed on following platforms using system requirements .
Supported File Formats
Aspose.Email for C++ supports the most commonly used mail file formats .
- Microsoft Outlook: MSG, PST, OST
- EML, EMLX
Email File & Message Archive Processing API Features
Create, manipulate & extract storage files
Supports SMTP, POP3 & IMAP communication protocols
Manage MIME Messages via C++ Library
Aspose.Email for C++ extensively supports MIME formats including EML & EMLX. This ability allows the developers to create, set & extract contents from the MIME messages, manage attachments & embedded objects, convert EML & EMLX files to MSG, HTML & MHTML file formats. Manage MIME Messages via C++ Library.
Manage Outlook Message File Formats
Aspose.Email for C++ is capable of creating Outlook messages from scratch as well as provides the ability to manipulate existing email files. Developers can load & save all types of Outlook items including contacts, tasks, notes, calendar items & distributions lists. On top of it, the C++ Email Library allows to parse & manipulate all of the Outlook objects via public API. Manage Outlook Message File Formats.
Produce & Consume iCalendar Recurrence Patterns
The library allows the developers to programmatically generate and consume recurrence patterns in iCalendar (RFC 2445) format using an intuitive object model. Our expertise ensures that the iCalendar interface is easy to use while giving you complete control over the recurrence production & consumption. Produce & Consume iCalendar Recurrence Patterns.
Create, Inspect & Extract Items from PST & OST Files
Aspose.Email for C++ allows managing Outlook storage formats like PST & OST. API performs different operations on existing storage formats as well as create new PST documents from scratch. Other possible operations, one can perform such as folder and message listing, addition or extraction of messages, contacts & folders.
Create PST & add message to Inbox - C++
// create PST file from scratch System::SharedPtr<PersonalStorage> personalStorage = PersonalStorage::Create(dir + L"output.pst", Aspose::Email::Outlook::Pst::FileFormatVersion::Unicode); // add a folder "Inbox" to the PST personalStorage->get_RootFolder()->AddSubFolder(L"Inbox"); // select the "Inbox" folder System::SharedPtr<FolderInfo> inboxFolder = personalStorage->get_RootFolder()->GetSubFolder(L"Inbox"); // add a message to the "Inbox" folder inboxFolder->AddMessage(MapiMessage::FromFile(dir + L"template.msg"));