Support for autoreconnect
Closed this issue · 2 comments
sebastianzebrowski commented
Maybe it would be good idea to include option for autoreconnect?
chirag04 commented
node-imap does it internally i guess. Mail-listener2 is a wrapper on top of it.
I would recommend using auto-restart scripts like pm2 or forever and terminating the mail-listener process on disconnect or error.
chirag04 commented
I am willing to accept a pull request if you have better ideas though.