Read Outlook Storage PST

Aspose.Email - Read Outlook Storage PST

An Outlook PST file can be loaded into an instance of the PersonalStorage class.


 // Load the Outlook PST file

String pstFileName = dataDir + "archive.pst";

PersonalStorage pst = PersonalStorage.fromFile(pstFileName);

// Get the Display Name of the PST file

System.out.println("Display Name: " + pst.getDisplayName());

Download Running Code

Download Sample Code