On Mon, Oct 24, 2011 at 7:51 PM, Ketan Barapatre <ketanbarapa...@gmail.com> wrote: > Hello All, > I want to develop an application where I can get the > text of incoming mails. Mail can be of plain text or text\html types. > > Please guide me How to do this using maillet api.
MIME mail has a complex internal structure[1] so this is really a mail parsing question. Take a look at the JavaMail[2] or Mime4J[3] documentation. Robert [1] http://en.wikipedia.org/wiki/MIME [2] http://www.oracle.com/technetwork/java/javamail/index.html [3] http://james.apache.org/mime4j/