I want to develop an Java application that reads .pst files (MS outlook files).
I dont know how to produce on this.Does JavaMail API provodides any assistance for this??
Thanks in advance,
This topic has been locked.
6 replies Latest Post - 2011-07-04T15:00:18Z by SystemAdmin
Pinned topic How to read .pst files?
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2011-07-04T15:00:18Z at 2011-07-04T15:00:18Z by SystemAdmin
Re: How to read .pst files?2006-02-17T02:19:01Z in response to SystemAdminMicrosoft uses an undisclosed proprietary format. It's also different between the 2002 and 2003 versions. I didn't see any active Outlook providers at the JavaMail Third Party Products page. Apparently most programs that can read .pst end up using the Windows API to talk to an Outlook dll. That would mean JNI and additional research for you. Another possibility is to link Outlook with an IMAP server and read from there.
Thunderbird, in theory, can read outlook and you could check out its source or invoke its import capabilities. See Importing and exporting your mail for more information.
"readpst is a utility for converting Microsoft Outlook mail files (personal folders) to standard UNIX mbox format." Its home is at readpst.
O2M is a shareware product that supports mbox, vCard, and iCal file formats. For $10, it may be worth a shot.
For more info about issues with .pst files, see
Reading messages in MS Outlook PST files
The .pst file has a different format and folder size limit in Outlook 2003