enough_mail icon indicating copy to clipboard operation
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.

Open Shadman12345 opened this issue 3 years ago • 3 comments
trafficstars

Shadman12345 avatar Jan 02 '22 06:01 Shadman12345

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.

robert-virkus avatar Feb 21 '22 13:02 robert-virkus

But why the service doesn't support this by default, any idea how to enable it?

Shadman12345 avatar Feb 21 '22 13:02 Shadman12345

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.

robert-virkus avatar Feb 21 '22 16:02 robert-virkus