nylas / nylas-mail

:love_letter: An extensible desktop mail app built on the modern web. Forks welcome!
https://nylas.com/nylas-mail/
MIT License
24.81k stars 1.38k forks source link

Cannot reply or send from outlook.com account #3331

Open itorain opened 7 years ago

itorain commented 7 years ago
Are there any related issues?

Doesn't seem to be

What operating system are you using?

Mac OS X El Capitan v10.11.6

What version of Nylas Mail are you using?

Version 1.0.39

Bug?

Do you have any third-party plugins installed? If so, which ones?

No

Is the issue related to a specific email provider (Gmail, Exchange, etc.)?

Outlook.com/Office 365

Is the issue reproducible with a particular attachment, message, signature, etc?

Reproducible when sending a new email or replying to any email. I can receive and view emails just fine

Stack trace

Cannot read property 'host' of undefinedTypeError: Cannot read property 'host' of undefined at sendmail-client.es6:20:24 at throw () at step (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/isomorphic-core/src/sendmail-client.es6:3:191) at /Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/isomorphic-core/src/sendmail-client.es6:3:402 at tryCatcher (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/util.js:16:23) at Promise._settlePromiseFromHandler (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/promise.js:510:31) at Promise._settlePromise (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/promise.js:567:18) at Promise._settlePromise0 (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/promise.js:612:10) at Promise._settlePromises (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/promise.js:687:18) at Async._drainQueue (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/async.js:133:16) at Async._drainQueues (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/async.js:143:10) at Async.drainQueues (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/async.js:17:14)Error at new APIError (/src/flux/errors.es6:28:19) at _actions2.default.didReceiveSyncbackRequestDeltas.listen.syncbackRequests (/src/flux/syncback-task-api-request.es6:30:25) at EventEmitter.eventHandler (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/reflux/src/PublisherMethods.js:36:22) at EventEmitter.emit (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/eventemitter3/index.js:72:35) at Function.trigger (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/reflux/src/PublisherMethods.js:52:26) at Function.functor [as didReceiveSyncbackRequestDeltas] (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/reflux/src/createAction.js:32:56) at DeltaProcessor._notifyOfSyncbackRequestDeltas (/src/services/delta-processor.es6:139:13) at /src/services/delta-processor.es6:77:12 at next () at step (/Applications/Nylas Mail.app/Contents/Resources/app.asar/src/services/delta-processor.js:35:191) at /Applications/Nylas Mail.app/Contents/Resources/app.asar/src/services/delta-processor.js:35:361 at tryCatcher (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/util.js:16:23) at Promise._settlePromiseFromHandler (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/promise.js:510:31) at Promise._settlePromise (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/promise.js:567:18) at Promise._settlePromiseCtx (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/promise.js:604:10) at Async._drainQueue (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/async.js:138:12) at Async._drainQueues (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/async.js:143:10) at Async.drainQueues (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/async.js:17:14)

duffpod commented 7 years ago

Related: https://github.com/nylas/nylas-mail/issues/3182

itorain commented 7 years ago

Just wanted to give an update on this as I dig some digging and testing. I figured out that it was a security problem. When I am on my job's network trying to add my outlook.com account or trying to send from that account is doing some weird post back to my mac localhost on port 2578. My company's network security is blocking it causing the send or add account operations to fail. When I got home I was able to add my outlook.com account and send from it no problem. Currently, I have my outlook account added and I can receive emails but I cannot send them while I am at work, only when I am at home. I guess you can consider this closed but I think the bigger issue is how the sending and adding accounts works with Outlook.com. I also have a gmail account that works perfectly whether I am at home or work so I was expecting the same for outlook. Just something for you all to know as an issue or a bug.

jstejada commented 7 years ago

thanks! we're looking into this one

itorain commented 7 years ago

@jstejada No problem!