msgparser

msgparser project is a parser for .msg Files in Java
Download

msgparser Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL v3
  • Price:
  • FREE
  • Publisher Name:
  • Roman Kurmanowytsch
  • Publisher web site:
  • http://teamtrac.org/

msgparser Tags


msgparser Description

msgparser project is a parser for .msg Files in Java msgparser project is a parser for .msg Files in Java.msgparser is a small open source Java library that parses Outlook .msg files and provides their content using Java objects.msgparser uses the Apache POI - POIFS library to parse the message files which use the OLE 2 Compound Document format. Thus, it is merely a convenience library that covers the details of the .msg file. The implementation is based on the information provided at fileformat.info.Examples:This page shows how to use the msgparser library to access to content of a .msg file.For parsing the .msg file, a MsgParser object must be created. This parser can process .msg files stored in a file or coming from an InputStream.MsgParser msgp = new MsgParser();Message msg = msgp.parseMsg("mail.msg");The resulting msg object contains all necessary information (e.g., from, to, subject).String fromEmail = msg.getFromEmail();String fromName = msg.getFromName();String subject = msg.getSubject();Attachments are stored in Attachment objects.List atts = msg.getAttachments();for (Attachment att : atts) { // do something with attachment}An attachment is either a file (which is a FileAttachment object) or another attached .msg file (i.e, an .msg file in an .msg file) (which is a MsgAttachment object).What's New in This Release:· Support was added for Unicode message files and improved logging.


msgparser Related Software