Apache POI - HSMF

MAPIMessage msg = new MAPIMessage("data/message.msg");
System.out.println("Text Body:"+ msg.getTextBody());

Aspose.Email

MailMessage msg = MailMessage.load("data/message.msg", MessageFormat.getMsg());

System.out.println("Body:"+ msg.getBody());
System.out.println("Text Body:"+ msg.getTextBody());
System.out.println("Text Body HTML:"+ msg.getHtmlBody());

Download Source Code

For More Examples, Please Visit Aspose Docs

Last edited Jun 20, 2014 at 6:15 AM by shoaibkhan, version 1