To integrate in our ticket tracking system we need the following functionality:
When replying to an email the application must parse its content and decide which part is the original or quoted text and which is a newly entered text by the user. This similar functionality can be seen in action in Outlook, Thunderbird, gmail and other clients. I’ve attached a screenshot of what I have in mind.
Since there is a large number of email clients out there I’m aware that %100 percent accuracy is difficult to achieve but the code must handle at least the three clients mentioned above plus other widely used email clients and web based emails such as Yahoo, AOL, Hotmail e.t.c.