• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java API to search mails in MS outlook?

 
Manoj Maniraj
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Saqib Razzaq
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  •  
    Paul Clapham
    Sheriff
    Posts: 21322
    32
    Eclipse IDE Firefox Browser MySQL Database
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    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.
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic