nylas-sync-engine icon indicating copy to clipboard operation
nylas-sync-engine copied to clipboard

Not able to add live/outlook email accounts

Open saravmajestic opened this issue 7 years ago • 3 comments

Thanks a lot for this docker setup. Easy to get it up and running.

I tried adding my live/outlook email accounts using this command sudo -uinbox bin/inbox-auth [email protected]

but I am getting following error: [ERROR] {"error": "NotSupportedError", "error_tb": "Traceback (most recent call last):\n File \"bin/inbox-auth\", line 69, in <module>\n main()\n File \"/usr/local/lib/python2.7/dist-packages/click/core.py\", line 488, in __call__\n return self.main(*args, **kwargs)\n File \"/usr/local/lib/python2.7/dist-packages/click/core.py\", line 474, in main\n self.invoke(ctx)\n File \"/usr/local/lib/python2.7/dist-packages/click/core.py\", line 659, in invoke\n ctx.invoke(self.callback, **ctx.params)\n File \"/usr/local/lib/python2.7/dist-packages/click/core.py\", line 325, in invoke\n return callback(*args, **kwargs)\n File \"bin/inbox-auth\", line 54, in main\n auth_handler = handler_from_provider(provider)\n File \"/opt/sync-engine/inbox/auth/base.py\", line 39, in handler_from_provider\n raise NotSupportedError('Nylas does not support the email provider.')\nNotSupportedError: Nylas does not support the email provider.\n", "timestamp": "2016-11-28T05:23:26.286247Z", "error_message": "Nylas does not support the email provider.", "module": "nylas.logging.log:149", "greenlet_id": 140054996418800, "level": "error"}

When I was using default Nylas email client (during trial period), these IDs were working. Open source sync engine doesn't support live/outlook accounts yet?

Thanks in advance.

saravmajestic avatar Nov 28 '16 05:11 saravmajestic

Hello, if sync-engine can't guess the provider by itself, you can help him with the --provider flag. In your case, I assume --provider=outlook should do the trick. If not, you can specify --provider=custom and then it will ask you imap and smtp settings.

HTH

nhurel avatar Nov 28 '16 20:11 nhurel

It's seems to don't work :

For example I add this command :

sudo -uinbox bin/inbox-auth --provider=outlook [email protected]

And I obtains this error :

[ERROR] {"error": "NotSupportedError", "error_tb": "Traceback (most recent call last):\n  File \"bin/inbox-auth\", line 69, in <module>\n    main()\n  File \"/usr/local/lib/python2.7/dist-packages/click/core.py\", line 488, in __call__\n    return self.main(*args, **kwargs)\n  File \"/usr/local/lib/python2.7/dist-packages/click/core.py\", line 474, in main\n    self.invoke(ctx)\n  File \"/usr/local/lib/python2.7/dist-packages/click/core.py\", line 659, in invoke\n    ctx.invoke(self.callback, **ctx.params)\n  File \"/usr/local/lib/python2.7/dist-packages/click/core.py\", line 325, in invoke\n    return callback(*args, **kwargs)\n  File \"bin/inbox-auth\", line 54, in main\n    auth_handler = handler_from_provider(provider)\n  File \"/opt/sync-engine/inbox/auth/base.py\", line 39, in handler_from_provider\n    raise NotSupportedError('Nylas does not support the email provider.')\nNotSupportedError: Nylas does not support the email provider.\n", "timestamp": "2017-01-05T10:04:49.250878Z", "error_message": "Nylas does not support the email provider.", "module": "nylas.logging.log:149", "greenlet_id": 139742963843312, "level": "error"}

throrin19 avatar Jan 05 '17 10:01 throrin19

Hi @throrin19

Does this workaround work : https://support.nylas.com/hc/en-us/articles/215684488-I-m-getting-Invalid-Credentials-when-connecting-a-Windows-Live-Domains-account ?

Otherwise, you should probably search in outlook how to get your mail via imap and add your account with the custom provider (I made a mistake in my previous answer I thought the alternate provider was imap but it is custom )

nhurel avatar Jan 05 '17 20:01 nhurel