File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other JSE/JEE APIs and the fly likes Java API to search mails in MS outlook? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Java API to search mails in MS outlook?" Watch "Java API to search mails in MS outlook?" New topic
Author

Java API to search mails in MS outlook?

Manoj Maniraj
Ranch Hand

Joined: Mar 25, 2009
Posts: 38
Hi guys,

I am in need of Java API to read and search emails in microsoft outlook from java. Please let me know if there are any API that suits my needs..


Cheers,
Manoj.

http://manojmaniraj.blogspot.com
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42273
    
  64
Apache POI has some basic code to access MSG files, but I think Outlook uses .ost and .pst files, for the most part, so I'm not sure if that helps.


Ping & DNS - my free Android networking tools app
Saqib Razzaq
Greenhorn

Joined: May 05, 2011
Posts: 2
If you want a commercial API for reading Outlook PST files in Java and read/extract emails in MSG format, you may look at our Aspose.Network for Java product. Please see the below articles for reference that contain documentation and sample code for reading PST and MSG files.

  • Get the Messages Information from the Outlook PST File
  • Extract Messages from Outlook PST File and Save to Disk or Stream in MSG Format
  • Parsing Outlook Message Files


  • Disclosure: I work as Technical Evangelist at Aspose.
    Paul Clapham
    Bartender

    Joined: Oct 14, 2005
    Posts: 18651
        
        8

    If "searching in Outlook" can be read as "searching in the Exchange server which Outlook is connected to" then JavaMail would be the appropriate tool.
     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: Java API to search mails in MS outlook?