Description
If you add a Alias to a IMAP Server and go back to the Mails it shows the error below.
Removing the Alias dont fix the error, a restart for mailspring do it.
To Reproduce…
Add a Alias to a IMAP Account.
Steps to reproduce the behavior:
- Go to a Account
- Add a Alias
- Go back to the Inbox
- Error happends
Expected Behavior
Dont break the GUI
Setup
- OS and Version: Windows 10
- Installation Method: Installer
- Mailspring Version: 1.15.1 cb02bf10
Additional Context
Error Message that shows:
Error: Error while calling Contact.fromString: string contains more than one email
at Function.fromString (file:///C:/Users/appveyor/AppData/Local/Temp/1/nylas-build/electron-packager/tmp-39Y1GC/resources/app/src/flux/models/contact.ts:412:13)
at Account.meUsingAlias (file:///C:/Users/appveyor/AppData/Local/Temp/1/nylas-build/electron-packager/tmp-39Y1GC/resources/app/src/flux/models/account.ts:166:20)
at file:///C:/Users/appveyor/AppData/Local/Temp/1/nylas-build/electron-packager/tmp-39Y1GC/resources/app/src/flux/stores/account-store.ts:328:36
at _AccountStore._cachedGetter (file:///C:/Users/appveyor/AppData/Local/Temp/1/nylas-build/electron-packager/tmp-39Y1GC/resources/app/src/flux/stores/account-store.ts:263:46)