Closed abstractmatter closed 3 years ago
Oh, 😅… great lib by the way 😁really helpful, many thanks!
Sounds like either a problem with your service provider or a underlaying problem with node-imap.
Since you said seqNo
is different then it is more likely your service provider is doing something strange.
Hi!
I experience a strange bug since last update to 5.0.0: search() send back duplicates message.
I'm not sure it's related to
imap-simple
ornode-imap
or… the imap server.with a search like this in a particular box (not the
INBOX
):If I have one message in the mailbox, it returns 2 messages with 2 different
seqNo
(always sequential) but the samemessageId
.For now, I filter out the duplicates, it solve my problem, but I wanted to know if you experienced something like this before.
Just for testing I logged the
fetchOnMessage
in the lib, and indeed it receive all the messages twice. If I change the.on('message', …)
to `.once('message',…), it send back only one message but does not finish the process.