-
Notifications
You must be signed in to change notification settings - Fork 6
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
imap disconnected every few hours #1
Comments
@Sureshkumars I left a comment on the library this is forked from here chirag04/mail-listener2#54 (comment) As you say there seems to be a disconnect error and I cant work out why. |
@Hardware-Hacks Is there any sample workaround for handling this? |
@Sureshkumars There's a hacky fix here: chirag04/mail-listener2#54 (comment) essentially killing the process when there is a disconnect. As per my response, I've moved onto using context.io for linking to gmail as its much more stable. |
@ImTheDeveloper I fixed the issue with the same process. I guess the issue might be due to the default connection timeout of node-imap client ? 10000 seconds |
I tried to change that but had no success 😣Did altering that time work for you? You can go into your node modules folder and change the idle time in that package after install to check |
Is there a way to prolong the life of the mail listener connection without having to refresh the code every few hours? I notice that the mail listener disconnects after a while of no traffic.
The text was updated successfully, but these errors were encountered: