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

Sending failedError: Sending failed #3526

Open ajcollett opened 7 years ago

ajcollett commented 7 years ago
Are there any related issues?

3182

3331

Seems that there are many that refer to sending issues.

What operating system are you using?

Mac OS X 10.12.4 Ubuntu 17.04

What version of Nylas Mail are you using?

Version 2.0.32 (2.0.32)

--

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.)?

Office 365 with my work. Gmail works perfectly.

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

Every time I try sending an email from the Office 365 address I get the below error. If I re-add the account the issue stops for a while then comes back. If I clear the email cache, the error is still present.

Steps:

  1. Replay or send an email
  2. Get the message: screen shot 2017-05-05 at 2 03 14 pm
  3. Try resend, same result.

NOTE: This seems to happen when on my work network, then it happens on all networks after that. If I re-add the account then on another network, it seems to work till I go on the Work net again. This is a university that I work for.

EDIT: above note not true. This happens on my home machine, that has never been on campus. But only sometimes. Could this be a time out issue?

Error output
Sending failedError: Sending failed
    at NylasError (errors.es6:1:8)
    at APIError (errors.es6:17:5)
    at sendmail-client.es6:53:11
    at throw (<anonymous>)
    at step (sendmail-client.es6:5:1)
    at sendmail-client.es6:5:1
    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)
alexisvincent commented 7 years ago

I get the same thing. Have had this issue on and off for months. Also with N1

ajcollett commented 7 years ago

Yeah, still happening with me. I'm fairly sure it's a timeout issue. Could you check the ping time between you and office365 please, when this issue happens and when it does not? I ran ping outlook.office365.com and got a time of 165ms on average. That doesn't seem too long though...

alexisvincent commented 7 years ago

184 on average. But I had the same issue on 2 different google accounts and an office365 account. Have since switched to Airmail

alexisvincent commented 7 years ago

@ajcollett Were you at Stellenbosch University?

ajcollett commented 7 years ago

Interesting that you asked that. Yeah, I am.

alexisvincent commented 7 years ago

Awe, see you on campus. If I'm not mistaken, git errors are redirected to you xD

ajcollett commented 7 years ago

He He, yes indeed. Small world. That makes this issue look like it could be and issue in this area. Cheers! Nylas! How can I give you better feedback!