chirag04 / mail-listener2

Mail listener library for node.js. Get notification when new email arrived.
MIT License
245 stars 116 forks source link

timeout-auth error with outlook.office365.com #48

Open MithunChopda opened 9 years ago

MithunChopda commented 9 years ago

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

jonesprabu commented 8 years ago

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

MithunChopda commented 8 years ago

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

chirag04 commented 8 years ago

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

miriamstub commented 7 years ago

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

H3RSKO commented 3 years ago

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