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

'mail' event triggered more than mail actually received #17

Closed
ligolas opened this issue May 16, 2014 · 2 comments
Closed

'mail' event triggered more than mail actually received #17

ligolas opened this issue May 16, 2014 · 2 comments

Comments

@ligolas
Copy link

ligolas commented May 16, 2014

I have two unread mail in mail box but the mail event triggered 4 times.

@thenitai
Copy link

Yep, seeing the same here. One message on the server and the mail even is being triggered 2 times.

@jcreigno
Copy link
Owner

Yes, I can reproduce it too. It seems that node-imap changed the way they fire the mail event on imap connection. This might be related to the recent node-imap upgrade.

Node-imap fires a 'mail' event when opening the mailbox, this triggers 2 scans and 2 fetches.

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

No branches or pull requests

3 participants