enough_mail
enough_mail copied to clipboard
Hii, i relly need a way to fetch all replies of a emails, Is there any way i can achieve this.
If I understand you correctly, you have an original "root message" and want to get any replies to that message in the currently selected mailbox/folder.
Assuming you have the message ID of your root message, you could fetch all header data of all messages after the date of your root message and then compare the References headers. Assuming your mail service supports a threading mechanism, you could also use that. The high level MailClient API does fetch threading information automatically on your behalf, if the service supports it.
It would help if you describe your problem precisely.
But why the service doesn't support this by default, any idea how to enable it?
You cannot enable this if the service does not support it. I recommend reading about the IMAP standard. e.g https://en.wikipedia.org/wiki/Internet_Message_Access_Protocol. Optional extensions such as threading are optional, meaning servers do not need to support them.