node-imap
node-imap copied to clipboard
Does Node-IMAP has reconnecting mechanism?
In my project, I am using node-imp to periodically fetching the new comming emails in a webserver application. I keep the IMAP instance connected and set timeout to call openBox('INBOX') periodically.
But I am concerned that the IMAP may disconnect from the IMAP server.
So I wish to known what is the best practice in such scenario? Would the IMAP connection be disconnected after a very long time running? Does IMAP do the auto-reconnecting when it disconnected? Or I need to handle the reconnect myself?
Thanks for any helps.
@josephusmv have you ever found an answer to that? Did you implement long running IMAP clients and what has been your experience? Much appreciated!
@steffenstolze @josephusmv i am also curious about the solution. Have you guys found any way to approach this scenario ?