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 (Original Message) How to fetch information about this thread? Thank you 回答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