chirag04/mail-listener2

imapDisconnected always connection getting disconnected.

Opened this issue · 2 comments

after uploading to the firebase , i am getting below error in firebase console

Error: getaddrinfo ENOTFOUND imap.gmail.com imap.gmail.com:993
at errnoException (dns.js:28:10)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:76:26)
code: 'ENOTFOUND',
errno: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'imap.gmail.com',
host: 'imap.gmail.com',
port: 993,
source: 'socket'

I run into the same error and found my host is set to ' imap.gmail.com' with extra space.
maybe you can check the host again