mail-listener2 icon indicating copy to clipboard operation
mail-listener2 copied to clipboard

timeout-auth error with outlook.office365.com

Open MithunChopda opened this issue 9 years ago • 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

MithunChopda avatar Aug 21 '15 15:08 MithunChopda

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

jonesprabu avatar Oct 12 '15 01:10 jonesprabu

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

MithunChopda avatar Oct 21 '15 13:10 MithunChopda

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

chirag04 avatar Oct 21 '15 13:10 chirag04

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

miriamstub avatar Feb 09 '17 08:02 miriamstub

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

H3RSKO avatar Aug 25 '21 19:08 H3RSKO