DOCX JPG EMAIL XML OLM
Aspose.EMAIL  Product Family
PST

Convert OLM to PST via C++

Native C++ library for OLM to PST conversion without any dependency.

How to Convert OLM to PST Using C++

In order to convert OLM to PST, we’ll use Aspose.Email for C++ API which is a feature-rich, powerful and easy to use document manipulation and conversion API for C++ platform. You can download its latest version directly, just open NuGet package manager, search for Aspose.Email.Cpp and install. You may also use the following command from the Package Manager Console.

<h3>Command</h3>

PM> Install-Package Aspose.EMAIL.Cpp

Steps to Convert OLM to PST via C++

Aspose.EMAIL API makes it easy for the developers to convert OLM file to PST in just a few lines of code.

{{code_steps}}

System Requirements

Aspose.EMAIL for C++ supports on all major platforms and Operating Systems. Please make sure that you have the following prerequisites.

 

Convert OLM to PST - C++

// Load the OLM.
System::SharedPtr<MailMessage> eml = MailMessage::Load(u"sourceFile.olm");
// Save in PST
eml->Save(u"convertedFile.pst", SaveOptions::get_DefaultPst());
 
  • OLM to PST Conversion Live Demos