Läs Outlook‑lagring PST

Aspose.Email – Läs Outlook‑lagring PST

En Outlook PST-fil kan laddas in i en instans av PersonalStorage klass.

Java

// 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.getStore().getDisplayName());

Ladda ner körbar kod

Ladda ner exempelkod