Skip to content

Fix - Added listeners on node-imap instance#2

Open
shashankklenty wants to merge 3 commits intomasterfrom
klenty/fix/listeners-on-node-imap-events
Open

Fix - Added listeners on node-imap instance#2
shashankklenty wants to merge 3 commits intomasterfrom
klenty/fix/listeners-on-node-imap-events

Conversation

@shashankklenty
Copy link
Contributor

We have added missing handlers whose absence might allow certain errors to bubble up to the main thread.

@shashankklenty
Copy link
Contributor Author

shashankklenty commented Jul 19, 2021

Needs version bump. Minor/patch to be decided. Also needs testing.

@ghost
Copy link

ghost commented Apr 23, 2023

hello i am facing this error
Error: read ECONNRESET
at TCP.onStreamRead (node:internal/stream_base_commons:217:20)
do u solve this error?

@kaulsh
Copy link

kaulsh commented May 9, 2023

hello i am facing this error Error: read ECONNRESET at TCP.onStreamRead (node:internal/stream_base_commons:217:20) do u solve this error?

@Saad-whizpool that error looks unrelated to the module and it's probably something related to the imap server. If a connection is not established within a certain amount of time, you will receive an ECONNRESET. Check if the imap host and port are correct.

Also, you may want to consider alternatives like https://imapflow.com as this module is no longer actively maintained by Klenty. They will be updating the status of this package soon.

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

Successfully merging this pull request may close these issues.

3 participants

Comments