I'm parsing an email and I was able to extract the 'text/plain' and 'text/html' contents of the mail. My problem now is that I can't extract the 'actual text' from the the whole text (with q'uoted text'). Here's an example.
this is a reply
On Tue, Mar 1, 2011 at 6:32 PM, Jan Michael Chuaquico <
I only want the 'this is a reply' and not the 'test'. This may be easy if all the emails have this format. But it varies depending on the email client. Here's an example from Yahoo!
From: Jewel Garcia
To: Jehaziel Jeiel Garcia
Sent: Tuesday, March 1, 2011 7:48:42 PM
How am I going to solve this problem? Maybe you guys know of any existing classes that has solved this already? Thanks!