Aspose.Email  for C++

C++ Email Message & Message Storage Processing API

Create, edit & convert email files & message archives from within C++ applications without requiring Microsoft Outlook.

  Download Free Trial
  
 

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.

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"));
  

Support and Learning Resources

  
  

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