读取 Outlook 存储 PST

Aspose.Email - 读取 Outlook 存储 PST

Outlook PST 文件可以加载到 PersonalStorage 类。

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

下载运行代码

下载示例代码