Bug: Can't add Office365 account
What is the behavior you're seeing?
Add account wizard goes blank
What email provider (Gmail, Exchange, etc.) are you trying to use?
Office 365
What operating system are you using?
Manjaro Linux
What version of Mailspring are you using?
1.7.4 via Snap
(eg: 1.6.3 or 1.7.0 - this is shown in Mailspring's main menu.)
Is the issue reproducible with a particular attachment, message, signature, etc?
N/A
I copied the terminal output when it happens:
{ TypeError: Cannot read property 'emailAddress' of undefined
at _AccountStore.addAccount (file:///tmp/nylas-build/electron-packager/linux-x64/mailspring-linux-x64/resources/app/src/flux/stores/account-store.ts:223:18)
at OnboardingStore._onFinishAndAddAccount (file:///tmp/nylas-build/electron-packager/linux-x64/mailspring-linux-x64/resources/app/internal_packages/onboarding/lib/onboarding-store.ts:129:20)
at EventEmitter.eventHandler (/snap/mailspring/440/usr/share/mailspring/resources/app.asar/node_modules/reflux/src/PublisherMethods.js:36:22)
at EventEmitter.emit (/snap/mailspring/440/usr/share/mailspring/resources/app.asar/node_modules/eventemitter3/index.js:72:35)
at Function.trigger (/snap/mailspring/440/usr/share/mailspring/resources/app.asar/node_modules/reflux/src/PublisherMethods.js:52:26)
at Object.functor [as finishAndAddAccount] (/snap/mailspring/440/usr/share/mailspring/resources/app.asar/node_modules/reflux/src/createAction.js:32:56)
at onboarding_helpers_1.finalizeAndValidateAccount.then.validated (file:///tmp/nylas-build/electron-packager/linux-x64/mailspring-linux-x64/resources/app/internal_packages/onboarding/lib/decorators/create-page-for-form.tsx:170:29)
message: 'Cannot read property \'emailAddress\' of undefined' } { pluginIds: [ 'onboarding' ] }
I, too, am having this issue. I've tried on 1.7.4 via snap, and 1.7.2 built from the AUR. When adding a second Gmail account, this issue did not occur, leading me to wonder if it only applies to Office365/Exchange accounts.
I also have this issue. I thought it might've been an issue with my pihole or firewall, but it's not. As @jfk52917 said, no issue with adding a gmail account, but during initial setup, adding an Office365/Outlook account makes the setup window go blank, and with the main window open, it appears normal but doesn't add the accounts.
also the same behaviour here
OS: Scientific Linux 7 Mailspring version 1.7.4 installed from rpm
Same issue here.
OS: Ubuntu 19.10 Trying to add Outlook account with 2FA enabled, using app password from Outlook. Latest Mailspring version from snap
Same issue here for Outlook and Office 365 accounts. Can add Gmail. Seems to be an issue in 1.7.4. Switching back to 1.7.2 fixed the problem.
Same here with Zimbra account (Outlook/Imap) with version 1.7.4 on both Mac OSX and Opensuse Linux works in 1.7.2
Actually, it does appear to work in 1.7.2, downloaded from the AUR - looks like I had put in the wrong password on that version of the application. Downgrading to 1.7.2 may be a solution for those looking.
I have the same problem, I use two different Gmail account (one a corporate one), but if I am using a Office 365 account. The process will say that the account will be added, but it doesn't happen.
@jfk52917 Is it possible to do this for the snap on Pop!_OS?
@aorozsa I've never done this before, so I'm unsure if this would work, but following the StackExchange page available here, it looks like you would type the following command:
sudo snap install mailspring --channel=1.7.2 --classic
I'm unsure if you actually need the last flag, so if anyone else knows better, please feel free to comment. If you want to upgrade/downgrade, it appears that you'd add refresh in place of install. I hope this helps, and sorry for the delay.
@jfk52917 Nope. Didn't work. This is what it gave me:
error: snap "mailspring" is not available on 1.7.2/stable but is available to
install on the following tracks:
latest/stable snap install --stable mailspring
Please be mindful that different tracks may include different features.
Get more information with 'snap info mailspring'.
Running snap info mailspring showed me that only 1.7.4 is avaliable, and running snap install --stable mailspring just installed 1.7.4.
Thanks for the suggestion anyway.
I was able to install 1.7.2 in manjaro using aur instead of snap. You should be able to build from source
Mailspring not working doesn't affect me too much; I can always access my accounts via my browser in the meantime. I would, however, like to be using it again asap, so I created a startup script that checks the current version on snap and promts installation if the latest version isn't 1.7.4. I placed the following file into ~/.config/autostart (I use Pop!_OS). Be sure to remove the .txt from the end. I also uninstalled mailspring from my system for the time being.
Just a confirmation that I can reproduce with snap 1.7.4 on Kubuntu 19.10
Hi, I had the same problem, being unable to sign in with my office 365 account. Then I checked the latest version with snap info mailspring and saw that an updated edge version 1.7.5 is available. Can confirm that installing this 1.7.5 version allowed me to log in with office 365 no problems. I haven't tested the app any further though.
This bug isn't just with Office 365 account. I have the same issue with an account, which I had added in the past using IMAP/SMTP option. I wish you could find the error. I really appreciate the effort.
I have the same problem, I use two different Gmail account (one a corporate one), but if I am using a Office 365 account. The process will say that the account will be added, but it doesn't happen.
Hi, I had the same problem, being unable to sign in with my office 365 account. Then I checked the latest version with
snap info mailspringand saw that an updated edge version 1.7.5 is available. Can confirm that installing this 1.7.5 version allowed me to log in with office 365 no problems. I haven't tested the app any further though.
I can confirm this information in a Linux Mint 18.0 SO. I had problems to work with a Office 365 account and a account, which I had added via IMAP/SMTP. Both account now are working using the mailspring 1.7.5. If you want to use this version and you are working with snap in Linux. You should do the next commands.
# First close Mailspring
sudo snap remove mailspring
sudo snap install mailspring --edge
jrmejiaa fix worked for me, I can now add my outlook.com accounts (no MFA). I'm running OpenSuse Tumbleweed new install as of 04/01/2929
I have another account that I would like to add to MailSpring. The account is an Outlook 360 with MFA. How do you add this type of account?
Creating an app password, and then utilizing that to login to Mailspring, worked for me. The instructions, published by Microsoft, are available here: https://support.office.com/en-us/article/create-an-app-password-for-office-365-3e7c860f-bda4-4441-a618-b53953ee1183 .
On Thu, Apr 9, 2020 at 10:16 AM Jack Nichols [email protected] wrote:
I have another account that I would like to add to MailSpring. The account is an Outlook 360 with MFA. How do you add this type of account?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Foundry376/Mailspring/issues/1839#issuecomment-611274196, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADSK7W6AXVXKUCM3GERZSBDRLUOWNANCNFSM4LAQUJDQ .