Closed januarionclx closed 3 years ago
Solved.
This was NOT a library issue, my client was using Kaspersky, and apparently, it scans attachments for viruses, after finishing, it "refreshes" (replaces?) the email with a new one, containing the attachment, this new email is "unread" and caused the app to re-read the previously reader emails.
Hope this clarification helps others to avoid this issue and apologies for the issues opening this may have caused.
Hello guys,
I was having some serious issues with my app and today I figured it had to do with the email event triggering twice, sometimes.
I can't replicate the error at will, but it hardly have to do with my code, it may be the setup though:
I'm using outlook. I'm opening a folder A inside Inbox (INBOX/A). There's a rule that send copies of the inbox emails to such A folder if the email comes from X.
That's it.
99.9% of the times it doesn't happen, but it happens.
I could build a patch to look for duplicates, but that wouldn't fix the root issue which is what I'm trying to do in here.
If you have any idea of how/why this could be happening, It'd be appreciated.
Will update this issue with news, thanks!