I am using OpenPop.dll to read emails in my application. I want to read only the reply of the email not original email which it was replied to. But email is read with previous emails in quotes. I want to remove those previous mail contents.
I tried using RegEx for this but that is not very robust way to read replies because different email clients have different reply format.
Is there any way by which I can read only the reply text from mail thread in OpenPop.dll or some other open source library.
Below is how the reply email text looks like when read from OpenPop.dll.
My phone number is 123456789. On Fri, May 8, 2015 at 2:57 PM, wrote: > Hi, > > This mail is regarding your *Phone*. Please reply to this email with your > *Phone*. > > Thanks >
This format is such that because it was replied from Gmail. Outlook has different format and so does yahoo.
I want to read only
My phone number is 123456789.
Is there any way I could achieve this? Any solution is welcome.