Aspose.EMAIL  Product Family

Convert OLM to PST via Java

Native Java Library to Read, Write & Export OLM to PST without needing Adobe.

How to Convert OLM to PST Using Java

In order to render OLM to PST, we’ll use Aspose.Email for Java API which is a feature-rich, powerful and easy to use conversion API for Java platform. You can download its latest version directly from Maven and install it within your Maven-based project by adding the following configurations to the pom.xml.


<name>Aspose Java API</name>


<version>version of aspose-email API</version>

Steps to Convert OLM to PST via Java

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


System Requirements

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


Convert OLM to PST - Java

// load the OLM file to be converted
MailMessage message = MailMessage.load("sourceFile.olm"); 
// save OLM as a PST"Saved File.pst", SaveOptions.DefaultPst);    
  • OLM to PST Conversion Live Demos