Email Thread Messages Using Javamail Api
How to identify that particular message is email thread and retrieving messages in that thread using JavaMail API? for email A replies to B B replies to A A emails to B (
Solution 1:
RFC 5256 describes an IMAP extension to support threading. Not a lot of servers support it, and JavaMail doesn't support it. If you need to implement the threading algorithm yourself in your application, the RFC includes some references that might be helpful.
Gmail provides a non-standard API to get the "thread ID" for a message. You can use the JavaMail gimap provider to access this information.
Post a Comment for "Email Thread Messages Using Javamail Api"