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.
An overview of Email Library for C++.
Aspose.Email for C++ can be used in any C++ applications developed on following platforms using system requirements.
Aspose.Email for C++ supports the most commonly used mail file formats.
Load & save messages to & from file or stream
Inter-conversion of format with just a few lines of code
Create & update tasks using iCalendar public API
Create, manipulate & extract storage files
Create recurrence patterns as per iCalendar RFC format
Add embedded objects or attach files to emails
Include text & HTML-based mail body
Create customized mail headers
Supports SMTP, POP3 & IMAP communication protocols
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.
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.
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.
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 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"));