Hello. I am currently using Visual Studio Code with 18.16.0 Node. I am trying to use imap, but it keeps saying the error is "ECONNREFUSED". What might be the cause of this? I am providing the right details. Or should be at least.
var Imap = require('imap'),
inspect = require('util').inspect;
var imap = new Imap({
user: 'gmail@gmail.com',
password: 'gmailpass',
host: 'imap.gmail.com',
port: 993,
tls: true
});
Hello. I am currently using Visual Studio Code with 18.16.0 Node. I am trying to use imap, but it keeps saying the error is "ECONNREFUSED". What might be the cause of this? I am providing the right details. Or should be at least.
Full error message: