I have 1 problem when i create my account look at the message that i have

Authentication error - Check your username and password (IMAP)View Log

This is the log below :

connect mailcore::IMAPSession:00CFF7D0

  • OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS MOVE SNIPPET=FUZZY PREVIEW=FUZZY STATUS=SIZE SAVEDATE LITERAL+ QUOTA AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
    ssl connect …mail… 993 2
    connect ok
    login
    1 LOGIN “…mail…” “*********”
    1 NO [AUTHENTICATIONFAILED] Authentication failed.

Please help me to resolve that, thanks a lot the mailspring community

The log shows Mailspring reached the server and logged in fine at the network level — the NO [AUTHENTICATIONFAILED] line is the mail server itself saying the username/password pair isn’t right for IMAP. Mailspring can’t get past that; the answer is on the account side, and it’s almost always one of these:

  1. The username format. Many servers want the full address (you@example.com) as the IMAP username, some want only the part before the @. Try the other form; the IMAP and SMTP usernames are separate fields on the settings screen, so make sure you change the IMAP one.
  2. Two-factor auth or “app passwords”. If the account has 2FA, or the provider requires app-specific passwords for mail clients (Yahoo, iCloud, FastMail, and others), the normal web password is rejected and you need to generate an app password: Two-factor authentication and app passwords — Mailspring Documentation
  3. IMAP not enabled. Some providers (GMX, mail.com, Yandex, some ISPs) require you to switch on IMAP access in their web settings before any client can log in.

If none of those apply, the quickest way to prove it is to try the same host/username/password in another IMAP client — if it fails there too, it’s the credentials or the server, not Mailspring.