chirag04/mail-listener2

timeout-auth error with outlook.office365.com

Opened this issue · 5 comments

var mailListener = new MailListener({
username:'email here',
password:'pass here',
host:'outlook.office365.com',
port:995,
tls: true,
tlsOptions: {rejectUnauthorized: false},
mailbox: 'INBOX',
searchFilter: ['UNSEEN'],
markSeen: true,
fetchUnreadOnStart: true,
mailParserOptions: {streamAttachments: true},
attachments: false,
attachmentOptions:{directory: 'attachments/'}
});

Leads to following error
{ [Error: Timed out while authenticating with server] source: 'timeout-auth' }
imapDisconnected

Found a similar thread reporting the same error here.
https://community.office365.com/en-us/f/172/t/235791

How do I increase the timeout?

Urgent help needed.

Thanks

+1
I am also facing same issue, @MithunChopda Is your issue got resolved? How can i increase timeout?

No idea @jonesprabu. We dropped this library from our solution. It doesnt work with SSL for us.

@MithunChopda I'm looking for a maintainer for this lib. If anyone of you guys are interested let me know.

Hi, I'm facing this issue too, can any one help please?

If you run into this issue, try changing the port number from 995 to 993.