Discover the ways to retrieve emails in Java via POP3, IMAP, EWS, Graph API or from offline mailbox storages of various formats such as PST, MBOX, OLM, TGZ. In this guide, we’ll explore how to retrieve emails using Aspose.Email for Java through various protocols: POP3, IMAP, EWS (Exchange Web Services), and the Microsoft Graph API.
Read Outlook PST Files in Java
PST (Personal Storage Table) is a well-known file format that is used for storage purposes by different Microsoft programs such as MS Outlook, Exchange, and Windows Messaging. PST files can store messages, contacts, and information about other items such as calendars, events, etc. In certain cases, you may need to parse a PST file and extract data from it programmatically. To achieve that, this article shows how to read MS Outlook PST files using Java. You will learn how to extract folders’ information, read emails and fetch contacts from a PST file.