Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hii, i relly need a way to fetch all replies of a emails, Is there any way i can achieve this. #179

Open
Shadman12345 opened this issue Jan 2, 2022 · 3 comments
Labels
documentation Improvements or additions to documentation

Comments

@Shadman12345
Copy link

No description provided.

@robert-virkus robert-virkus added the documentation Improvements or additions to documentation label Feb 21, 2022
@robert-virkus
Copy link
Member

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.

@Shadman12345
Copy link
Author

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

@robert-virkus
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants