chirag04/mail-listener2

{ [Error: No supported authentication method(s) available. Unable to login.] source: 'authentication' }

Opened this issue · 2 comments

I am getting this error when i try to connect with zoho mail using mail-listener2, But i can able to connect and read mail from my application using node-imap. Please help me on this issue.

The config param i am using with node-imap is as below

var imap = new Imap({
user: nconf.get('IMAP_USER'),
password: nconf.get('IMAP_PASS'),
host: nconf.get('IMAP_HOST'),
port: nconf.get('IMAP_PORT'),
connTimeout: 10000000,
tls: true
});

Same param i am using with mail-listener2 but getting the below error

{ [Error: No supported authentication method(s) available. Unable to login.] source: 'authentication' }

I'm seeing this issue as well, using the same parameters that are successful with node-imap and also imap-simple. Is it required to use an app token for IMAP_PASS? Thanks

There is a small difference between node-imap and mail-listener2 in the config. In node-imap, the user field is "user", while in mail-listener2 it is "username".