PST JPG PDF XML OLM
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.
<repository> <id>AsposeJavaAPI</id> <name>Aspose Java API</name> <url>https://repository.aspose.com/repo/</url> </repository>
<dependency> <groupId>com.aspose</groupId> <artifactId>aspose-email</artifactId> <version>version of aspose-email API</version> <classifier>jdk17</classifier> </dependency>
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.
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 message.save("Saved File.pst", SaveOptions.DefaultPst);