Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

UniqueId is repeated #769

Open
swk-lb opened this issue Mar 31, 2023 · 2 comments
Open

UniqueId is repeated #769

swk-lb opened this issue Mar 31, 2023 · 2 comments

Comments

@swk-lb
Copy link

swk-lb commented Mar 31, 2023

Hi,

I am using version 2.0 and java 8.

I work on emails from the inbox. I store the uniqueIds of mails in the database. The inbox is repeatedly queried and mails that are not yet stored in the database with their uniqueId are getting stored in the database. Today I received a mail with a uniqueId that was already stored in the database. That uniqueId belonged to a mail that was received a week ago.

I this behaviour intended? I was not aware that uniqueIds can occur more than one time.

Thanks for clarification,
Lukas

@pkropachev
Copy link

What is field (how it's extracted) you use as unique identifier of message?

@swk-lb
Copy link
Author

swk-lb commented Apr 11, 2023

item.getId().getUniqueId()

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants