2011/10/24 Ketan Barapatre <[email protected]>:
> 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.

Look at the OnlyText mailet:
http://svn.apache.org/viewvc/james/mailet/standard/trunk/src/main/java/org/apache/james/transport/mailets/OnlyText.java?view=markup

This mailets translate in an input message in a simple text/plain
message. If you only need the text you can still get inspiration from
there.

Stefano

Reply via email to