Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IMAP: Error "Unexpected close" when there is no password and login fails #385

Open
benbucksch opened this issue Jan 14, 2025 · 0 comments
Open
Assignees

Comments

@benbucksch
Copy link
Collaborator

Reproduction

  1. Set up IMAP account
  2. Delete password (for some reason, we keep losing the password sometimes! That's a different bug)
  3. Restart app
  4. Select the inbox of the account
  5. Click "Login" button

Actual result

  • Error banner at the top "Unexpected close"
  • Same error in error console. No other errors there.
  • Stack
console.js:36 ConnectError: Unexpected close
    at IMAPAccount.connection (IMAPAccount.ts:130:35)
    at async IMAPAccount.hasCapability (IMAPAccount.ts:224:16)
    at async IMAPFolder.listMessages (IMAPFolder.ts:108:11)
    at async loadFolder (MailApp.svelte:40:28)

Expected result

  • Error banner "[Account name] Please check your password in settings. [IMAP server error message during login]"
  • The error banner has a [Settings] button, which leads to the server settings tab of that specific account.
@benbucksch benbucksch self-assigned this Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant