Mailspring: Can't add Outlook email

Created on 9 Mar 2018  Â·  45Comments  Â·  Source: Foundry376/Mailspring

Are there any related issues?

Couldn't find one

What operating system are you using?

Windows 10

What version of Mailspring are you using?

1.1.5

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

I can't link my outlook.com

1.1.5

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

I can't link my outlook.com email. I selected the Office 365 option per your knowledge base article but get the error... "Connection Error - Unable to connect to the server / port you provided. (SMTP)"

The log says

----------IMAP----------

  • OK The Microsoft Exchange IMAP4 service is ready. [RABNADUAUABSADEAMgBDAEEAMAAwADAAMwAuAG4AYQBtAHAAcgBkADEAMgAuAHAAcgBvAGQALgBvAHUAdABsAG8AbwBrAC4AYwBvAG0A]
    1 CAPABILITY
  • CAPABILITY IMAP4 IMAP4rev1 AUTH=PLAIN AUTH=XOAUTH2 SASL-IR UIDPLUS MOVE ID UNSELECT CHILDREN IDLE NAMESPACE LITERAL+
    1 OK CAPABILITY completed.
    2 LOGIN "s[email protected]" ****
    2 OK LOGIN completed.
    3 CAPABILITY
  • CAPABILITY IMAP4 IMAP4rev1 AUTH=PLAIN AUTH=XOAUTH2 SASL-IR UIDPLUS MOVE ID UNSELECT CLIENTACCESSRULES CLIENTNETWORKPRESENCELOCATION BACKENDAUTHENTICATE CHILDREN IDLE NAMESPACE LITERAL+
    3 OK CAPABILITY completed.
    4 NAMESPACE
  • NAMESPACE (("" "/")) NIL NIL
    4 OK NAMESPACE completed.
    5 LIST "" "*"
  • LIST (\HasNoChildren) "/" Archive
  • LIST (\Marked \HasNoChildren \Trash) "/" Deleted
  • LIST (\HasNoChildren \Drafts) "/" Drafts
  • LIST (\Marked \HasNoChildren) "/" Inbox
  • LIST (\HasNoChildren \Junk) "/" Junk
  • LIST (\HasNoChildren) "/" Notes
  • LIST (\HasNoChildren) "/" Outbox
  • LIST (\Marked \HasNoChildren \Sent) "/" Sent
    5 OK LIST completed.

----------SMTP----------

mailsmtp Last Error Code: 25

mailsmtp Last Error Location: 1

done-pending-release

Most helpful comment

Actually I managed to add my outlook email by using the IMAP / SMTP option instead of Office 365. I used these settings... https://support.office.com/en-us/article/pop-imap-and-smtp-settings-for-outlook-com-d088b986-291d-42b8-9564-9c414e2aa040?ui=en-US&rs=en-US&ad=US

All 45 comments

Actually I managed to add my outlook email by using the IMAP / SMTP option instead of Office 365. I used these settings... https://support.office.com/en-us/article/pop-imap-and-smtp-settings-for-outlook-com-d088b986-291d-42b8-9564-9c414e2aa040?ui=en-US&rs=en-US&ad=US

I have exactly same issue. The log file looks almost exactly the same.
My operating system is Arch Linux.

Same here too, I guess I'll use IMAP for the moment... (Windows 10 though)

Same here. And, when I _do_ get it connected (using the IMAP/SMTP option and not Office 365), it stays connected for maybe two or three minutes, and then I get the error message, and go to the accounts page, and my Outlook accounts (I do have more than one) are all red, along with two q.com (CenturyLink, my internet provider--used to be Qwest, which accounts for the q.com domain) addresses, _and_ an icloud.com address.

Have this issue on Ubuntu 16.04

@ZathrasFive Your link is linking to a different url and ends up at a 404

I am facing the same issue as well, OS Windows 10 Pro Version 1709 OS Build 16299.309, Mailspring version 1.1.5.

Log:

----------IMAP----------

  • OK The Microsoft Exchange IMAP4 service is ready. [QwBQADIAUAAyADEANQBDAEEAMAAwADAANwAuAEwAQQBNAFAAMgAxADUALgBQAFIATwBEAC4ATwBVAFQATABPAE8ASwAuAEMATwBNAA==]
    1 CAPABILITY
  • CAPABILITY IMAP4 IMAP4rev1 AUTH=PLAIN AUTH=XOAUTH2 SASL-IR UIDPLUS ID UNSELECT CHILDREN IDLE NAMESPACE LITERAL+
    1 OK CAPABILITY completed.
    2 LOGIN "giu@outlook.com" ****
    2 OK LOGIN completed.
    3 CAPABILITY
  • CAPABILITY IMAP4 IMAP4rev1 AUTH=PLAIN AUTH=XOAUTH2 SASL-IR UIDPLUS MOVE ID UNSELECT CLIENTACCESSRULES CLIENTNETWORKPRESENCELOCATION BACKENDAUTHENTICATE CHILDREN IDLE NAMESPACE LITERAL+
    3 OK CAPABILITY completed.
    4 NAMESPACE
  • NAMESPACE (("" "/")) NIL NIL
    4 OK NAMESPACE completed.
    5 LIST "" "*"
  • LIST (\HasNoChildren) "/" Archive
  • LIST (\Marked \HasNoChildren \Trash) "/" Deleted
  • LIST (\HasNoChildren \Drafts) "/" Drafts
  • LIST (\Marked \HasNoChildren) "/" Inbox
  • LIST (\HasNoChildren \Junk) "/" Junk
  • LIST (\HasNoChildren) "/" Notes
  • LIST (\HasNoChildren) "/" Outbox
  • LIST (\HasNoChildren \Sent) "/" Sent
    5 OK LIST completed.

----------SMTP----------

mailsmtp Last Error Code: 27

mailsmtp Last Error Location: 5

Same here, same error on macOS on both v1.1.5 and v1.2.1...

I am facing the same issue with v1.2.1 on Windows 10 1703.

I have the same issue here, on both deb and snap versions, I use Linux Mint 18.3

Bumping this, I have the same issue on Windows 10.

Same issue on Ubuntu 18.04, Windows 10 Pro as well.

Got the same error on Kubuntu 18.04, Mailspring version 1.2.2-96fb3a99.

Same issue here, Mac OSX High Sierra 10.13.5, MailSpring 1.3.0

Same issue, Ubuntu 18.04.

Same. Very weird. Ubuntu 18.04

Developers, please fix this issue, ASAP

On Fri, Jul 27, 2018 at 4:53 PM darkneo29 notifications@github.com wrote:

Same. Very weird. Ubuntu 18.04

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Foundry376/Mailspring/issues/748#issuecomment-408390635,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AdkH80PwGtkwXzND8Df8oSi54pClK_Gaks5uKvgWgaJpZM4Sjf30
.

I had to goto IMAP..type in a fake account...then when I got to IMAP settings enter everything for outlook account.. its all working but not desired way of doing this.

Hey folks thanks for reporting this—the "Office 365" option is just a simplified version of the IMAP/SMTP flow with some options pre-selected, so going through IMAP/SMTP to add the account should be OK. It sounds like our presets might be wrong though somehow. Will see if I can resolve this today.

Hey folks - this has landed in 732322893c7ab92338edd6d564a5dd4dec534159. In the next update, I'm expanding the onboarding account picker and making Office 365 and Outlook / Live / Hotmail separate options - I think this will make it a lot easier. I also signed up for a paid O365 account as well as an Outlook.com account to test both. Honestly the product differentiation Microsoft has done is super confusing... O365 Outlook is a totally separate product from Outlook.com / Live.com which is the old Hotmail re-skinned. Fun fun fun...

image

Hey folks! This has shipped in 1.4.1. You can get the update automatically if you're using the Mac and Windows versions, or the Linux snapcraft release, and you can also download it from https://getmailspring.com/download. I'm going to go ahead and close this and we'll re-open it if necessary. Thanks—enjoy the app!

@bengotow I'm have the same problems here.

Running last version of client above Linux Mint19

Im try do logon in outlook, office 365 and IMAP/SMTP options.

----------IMAP----------

  • OK The Microsoft Exchange IMAP4 service is ready. [QwBQADIAUABSADgAMABDAEEAMAAxADYAMwAuAGwAYQBtAHAAcgBkADgAMAAuAHAAcgBvAGQALgBvAHUAdABsAG8AbwBrAC4AYwBvAG0A]
    1 CAPABILITY
  • CAPABILITY IMAP4 IMAP4rev1 AUTH=PLAIN AUTH=XOAUTH2 SASL-IR UIDPLUS MOVE ID UNSELECT CHILDREN IDLE NAMESPACE LITERAL+
    1 OK CAPABILITY completed.
    2 LOGIN "[email protected]" "***"
    2 NO LOGIN failed.
    imap-365.log

Same problem, running on Kubuntu 18.04.

* OK The Microsoft Exchange IMAP4 service is ready. [UgBPADEAUABSADgAMABDAEEAMAAxADMAMQAuAGwAYQBtAHAAcgBkADgAMAAuAHAAcgBvAGQALgBvAHUAdABsAG8AbwBrAC4AYwBvAG0A]
1 CAPABILITY
* CAPABILITY IMAP4 IMAP4rev1 AUTH=PLAIN AUTH=XOAUTH2 SASL-IR UIDPLUS MOVE ID UNSELECT CHILDREN IDLE NAMESPACE LITERAL+
1 OK CAPABILITY completed.
2 LOGIN "[email protected]" *********
2 NO LOGIN failed.

Still have the issue, on an O365 account this time! Windows 10, Mailspring 1.4.2-f587b7b7

* OK The Microsoft Exchange IMAP4 service is ready. [TABPADIAUAAyADYANQBDAEEAMAAxADkAMQAuAEcAQgBSAFAAMgA2ADUALgBQAFIATwBEAC4ATwBVAFQATABPAE8ASwAuAEMATwBNAA==]
1 CAPABILITY
* CAPABILITY IMAP4 IMAP4rev1 AUTH=PLAIN AUTH=XOAUTH2 SASL-IR UIDPLUS ID UNSELECT CHILDREN IDLE NAMESPACE LITERAL+
1 OK CAPABILITY completed.
2 LOGIN "[email protected]" "*********"
2 NO LOGIN failed.

Same issue on ubuntu 18.04. Log shows SMTP failed. Looks like IMAP is working fine.

Same issue on ubuntu 18.10 running Mailspring 1.5.5.

In case anyone else has this issue, the clue I found to solve this issue was here: https://foundry376.zendesk.com/hc/en-us/articles/115001882152?input_string=cannot+add+outlook+account. For some reason a lot of the material I found concerning how to add an Outlook account to Mailspring failed the mention you may need to use an app password. Go to https://account.live.com/proofs/Manage/additional. Under 'App passwords' click 'Create a new app password'. Use the password provided to add your Outlook account.

----------IMAP----------

  • OK The Microsoft Exchange IMAP4 service is ready. [UwBOADYAUABSADAANABDAEEAMAAwADMANAAuAG4AYQBtAHAAcgBkADAANAAuAHAAcgBvAGQALgBvAHUAdABsAG8AbwBrAC4AYwBvAG0A]
    1 CAPABILITY
  • CAPABILITY IMAP4 IMAP4rev1 AUTH=PLAIN AUTH=XOAUTH2 SASL-IR UIDPLUS MOVE ID UNSELECT CHILDREN IDLE NAMESPACE LITERAL+
    1 OK CAPABILITY completed.
    2 LOGIN "[email protected]" "***"
    2 NO LOGIN failed.

Screenshot from 2019-08-14 17-10-16

The only thing I can think of is that I use Microsoft Authentication, which probably isn't supported at the moment.

Let me know if I can put this comment on an updated thread.

Same problem here, tells me always that Username or PW is wrong which isn't... I copied and pasted it out of keypass and the browser. with my normal gmail it is working but not with old hotmail :(
I appreciate mailspring a lot and I would really appreciate a fix of this and leave a big thank you in advance for your effort :)
Btw I use Manjaro KDE

Same here in 2020, My SO is Manjaro, and I can't connect my Outlook and Office 365 account

Same here. Mailspring (deb) version 1.7.4. Linux Mint 19.3

Same here. Mailspring (deb or snap) version 1.7.4. Linux ZorinOS 15.2

Again here (deb) version 1.7.4 Ubuntu 18.04.4 LTS
Cannot add Outlook Accounts from any place

Same problem here!
Version 1.7.4 Ubuntu 18.04.4 LTS

Same here also on Manjaro KDE , but since this issue was closed, is anyone even looking at this anymore?

Operating System: Manjaro Linux
KDE Plasma Version: 5.18.3
KDE Frameworks Version: 5.67.0
Qt Version: 5.14.1
Kernel Version: 5.5.8-1-MANJARO
OS Type: 64-bit

same here on Pop!_OS 19.04 Mailspring version 1.7.4

Hey guys, I'm having a similiar problem but, instead of saying that I can't login, everything goes without any warning and Mailspring says that the connectiong went 100% fine. But, when we go back to the main page no account is added. For some reason I can't find the logs but here is a screeshot of the console:
Anotação 2020-03-30 085743
And here is the configuration I'm using from the SMTP setup, using the values provided byt my hotmail account:
InkedAnotação 2020-03-30 090107_LI

Same issue here, tryied to add hotmail.com account using 365, Outlook and IMAP way and just got the message, account connected but no account added...
Any idea?

I think for now the solution is to downgrade to 1.7.2 until a bug fix patch is released .
1.7.2 is working fine on my manjaro pc .

Would love to do it but I didn't have the debian package ^^

if you are on debian based u will find it on the releases section , or if u are like me on arch based system look for your packages cache u may find it, or just for now do like me and install mailspring-libre from the AUR till the next release appears :smile: .

gonna look at that ^^
ty

Tested 1.7.2, got my hotmail box added for at last 1 minute then it dropped.
Unable to add it again....

Probably some change from Microsoft.

some month ago, I could add a outlook account but now i have same issue.
"Account successfully added" splash shown but nothing added to accounts really
openSuse leap15.1 kernel 4.12.14-lp151.28.44-default. mailspring v1.7.4-d54ff730 snap package

I'm running MailSpring 1.7.4 and I have this issue as well. I used all sing in methods (Office365, Hotmail/Outlook, and IMAP/SMTP) with no luck.

As @navid-ahrary commented MailSpring says "Account successfully added" splash shown but nothing added to accounts. I think that you must implement Microsoft Authenticator, that must be the only way to add Hotmail accounts.

Edit:
I've downgraded the app to 1.7.2 and I could add the Hotmail account.

I was using MailSpring 1.7.4 and I got this issue too. I'm using Snap package in Linux Mint 19.03. I tried MailSprint 1.7.5 in edge channel, and works.

I was using MailSpring 1.7.4 and I got this issue too. I'm using Snap package in Linux Mint 19.03. I tried MailSprint 1.7.5 in edge channel, and works.

that worked, tnx

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dgattey picture dgattey  Â·  3Comments

enoversum picture enoversum  Â·  3Comments

KristerV picture KristerV  Â·  3Comments

applesea2 picture applesea2  Â·  3Comments

liam-wiltshire picture liam-wiltshire  Â·  3Comments