Problem with SMTP login on version 1.17.2 Windows

Description

I’ve had problem with SMTP auth on 3 IMAP mail server. All says the same error that is wrong username and password on version 1.17.2.
Recieveing mails is ok, but cannot send. After downgrade to version 1.17.1 all is ok again.

Log:
SMTP Last Response Code: 250
SMTP Last Response: *******************
8BITMIME
AUTH PLAIN LOGIN
BURL imap
CHUNKING
DSN
ENHANCEDSTATUSCODES
SIZE 50000000
PIPELINING
VRFY

mailsmtp Last Error Code: 296
mailsmtp Last Error Explanation: Unknown
mailsmtp Last Error Location: 10
mailsmtp Last Auth Type: 2

To Reproduce…

Steps to reproduce the behavior:

Expected Behavior

Screenshots

Screenshot 2026-01-26 102156

Setup

  • OS and Version: Windows 11
    • Installation Method:
  • Mailspring Version: 1.17.2 (later downgrade to 1.17.1 tested and work)

Additional Context

Same problem here.

windows 11

1.17.2

----------IMAP----------
connect mailcore::IMAPSession:0055F9D8

  • OK [CAPABILITY IMAP4rev1 LOGIN-REFERRALS ID ENABLE IDLE SASL-IR LITERAL+ AUTH=PLAIN AUTH=LOGIN AUTH=DIGEST-MD5 AUTH=CRAM-MD5] Dovecot ready.
    TLS ssl connect myd**********.gr 993 2
    OpenSSL version: OpenSSL 3.6.0 1 Oct 2025
    connect ok
    login
    1 LOGIN “info@myd**********.gr” “*********”
    1 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 BINARY MOVE REPLACE SNIPPET=FUZZY PREVIEW=FUZZY PREVIEW SPECIAL-USE STATUS=SIZE SAVEDATE COMPRESS=DEFLATE INPROGRESS NOTIFY LITERAL+ QUOTA] Logged in
    2 COMPRESS DEFLATE
    2 OK Begin compression (0.001 + 0.000 secs).
    3 ENABLE QRESYNC
  • ENABLED QRESYNC
    3 OK Enabled (0.001 + 0.000 secs).
    4 NAMESPACE
  • NAMESPACE ((“INBOX.” “.”)) NIL NIL
    4 OK Namespace completed (0.001 + 0.000 secs).
    login ok
    5 LIST “INBOX.” “*”
  • LIST (\HasChildren \UnMarked) “.” INBOX.Mailspring
  • LIST (\HasNoChildren \UnMarked) “.” INBOX.Mailspring.Snoozed
  • LIST (\HasNoChildren \UnMarked) “.” INBOX.Saved
  • LIST (\HasNoChildren \UnMarked) “.” INBOX.Templates
  • LIST (\HasNoChildren \UnMarked) “.” INBOX.Archive
  • LIST (\HasNoChildren \UnMarked \Junk) “.” INBOX.Spam
  • LIST (\HasNoChildren \UnMarked \Drafts) “.” INBOX.Drafts
  • LIST (\HasNoChildren \UnMarked \Sent) “.” INBOX.Sent
  • LIST (\HasNoChildren \UnMarked \Trash) “.” INBOX.Trash
    5 OK List completed (0.001 + 0.000 secs).
    6 LIST “” “INBOX”
  • LIST (\HasChildren) “.” INBOX
    6 OK List completed (0.001 + 0.000 secs).

----------SMTP----------
220 server60.happybyte.gr ESMTP Postfix
OpenSSL version: OpenSSL 3.6.0 1 Oct 2025
init
EHLO TURBOX
250-server60.happybyte.gr
250-PIPELINING
250-SIZE 67108864
250-ETRN
250-AUTH DIGEST-MD5 CRAM-MD5 PLAIN LOGIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250-DSN
250 CHUNKING

SASL_PATH:

SMTP Last Response Code: 250
SMTP Last Response: server60.happybyte.gr
PIPELINING
SIZE 67108864
ETRN
AUTH DIGEST-MD5 CRAM-MD5 PLAIN LOGIN
ENHANCEDSTATUSCODES
8BITMIME
DSN
CHUNKING

mailsmtp Last Error Code: 296
mailsmtp Last Error Explanation: Unknown
mailsmtp Last Error Location: 10
mailsmtp Last Auth Type: 2

While adjusting settings and accounts, I managed to find a temporary workaround.
I installed the previous version of the application (v1.17.1) and removed the Update.exe file from the application folder in order to prevent automatic updates, until the specific bug is fixed.

4 Likes

Is it a global Oauth code applied to non Oauth code venues?
My Hotmail, Gmail working (sending/Receiving) but now Spectrum not.
1.17.2

I’m having the same problem with my Yahoo account. I’ve removed and recreated my app password, but it still refuses to reconnect. Here is the full log:

Important: Yahoo requires that you create a unique app password for email apps like Mailspring. Follow these instructions to create one and then paste it below.

https://help.yahoo.com/kb/SLN15241.html?guccounter=1

\----------IMAP----------
connect <mailcore::IMAPSession:00EFF868>

* OK Welcome! IMAP Server up and ready to accept your request
  TLS ssl connect imap.mail.yahoo.com 993 2
  OpenSSL version: OpenSSL 3.6.0 1 Oct 2025
  1 CAPABILITY
* CAPABILITY IMAP4rev1 SASL-IR AUTH=PLAIN AUTH=XOAUTH2 AUTH=OAUTHBEARER ID MOVE NAMESPACE XYMHIGHESTMODSEQ UIDPLUS LITERAL+ CHILDREN UNSELECT X-MSG-EXT OBJECTID IDLE ENABLE UIDONLY X-ALL-MAIL X-UIDONLY LIST-EXTENDED LIST-STATUS SPECIAL-USE PARTIAL APPENDLIMIT=41697280
  1 OK CAPABILITY completed
  connect ok
  login
  2 LOGIN “<MAILADDRESS>” \*\*\*\*\*\*\*\*\*
  2 OK \[CAPABILITY IMAP4rev1 ID MOVE NAMESPACE XYMHIGHESTMODSEQ UIDPLUS LITERAL+ CHILDREN UNSELECT X-MSG-EXT OBJECTID IDLE ENABLE UIDONLY X-ALL-MAIL X-UIDONLY LIST-EXTENDED LIST-STATUS SPECIAL-USE MESSAGELIMIT=1000 PARTIAL APPENDLIMIT=41697280 COMPRESS=DEFLATE\] LOGIN completed
  3 COMPRESS DEFLATE
  3 OK COMPRESS DEFLATE active
  4 NAMESPACE
* NAMESPACE ((“” “/”)) NIL NIL
  4 OK NAMESPACE completed
  login ok
  5 LIST “” “\*”
* LIST (\\Archive \\HasNoChildren) “/” “Archive”
* LIST (\\Junk \\HasNoChildren) “/” “Bulk”
* LIST (\\Drafts \\HasNoChildren) “/” “Draft”
* LIST (\\HasNoChildren) “/” “Inbox”
* LIST (\\HasChildren) “/” “Mailspring”
* LIST (\\HasNoChildren) “/” “Mailspring/Snoozed”
* LIST (\\HasNoChildren) “/” “Notes”
* LIST (\\Sent \\HasNoChildren) “/” “Sent”
* LIST (\\Trash \\HasNoChildren) “/” “Trash”
  5 OK LIST completed

\----------SMTP----------
220 smtp.mail.yahoo.com ESMTP ready
OpenSSL version: OpenSSL 3.6.0 1 Oct 2025
init
EHLO <MACHINENAME>
250-hermes–production-ir2-6fcf857f6f-fskn5 Hello <MACHINENAME> \[<IPADDRESS>\])
250-PIPELINING
250-ENHANCEDSTATUSCODES
250-8BITMIME
250-SIZE 41697280
250 AUTH PLAIN LOGIN XOAUTH2 OAUTHBEARER

SASL_PATH:

SMTP Last Response Code: 250
SMTP Last Response: hermes–production-ir2-6fcf857f6f-fskn5 Hello <MACHINENAME> \[<IPADDRESS>\])
PIPELINING
ENHANCEDSTATUSCODES
8BITMIME
SIZE 41697280
AUTH PLAIN LOGIN XOAUTH2 OAUTHBEARER

mailsmtp Last Error Code: 296
mailsmtp Last Error Explanation: Unknown
mailsmtp Last Error Location: 10
mailsmtp Last Auth Type: 2

Hi. I have the same problem. Could you please send me where I can download the previous version (v1.17.1)? Thanks for the answer.

Same problem here: imap works and smtp does not and i tried all settings. Email account settings work with Typeapp perfectly. We need an urgent update.

I have the same problem with 2 accounts, I can’t send emails.

Go for the previous version. 1.17.1

same problem since 1.17.1

but problem is i cant go back to 1.17.1 because then i cant type in the compose window correctly and keys and enter key are missed and this was fixed in 1.17.2 :frowning:

I downloaded 1.16 version from the github page. Problem evaporated so I am happy now :-). I deleted update.exe to prevent the autoupdate. I will subscribe Mailspring for one month to support the development.

1 Like

Yes, download and install the older version 1.17.1 and you can send emails normally. It worked for me

Hi folks, thanks for reporting this and sorry this made it into production. We have automated tests that ensure mailsync can connect to IMAP and SMTP, but this particular problem doesn’t surface until you /log in/ to the SMTP server to send mail. I’ve updated our Github Actions to actually perform the login step so we can verify this never happens again.

This has been fixed in Mailspring 1.17.3, which was released Jan 31. The app should have already updated to that version, or you can grab it from the website . Thank you for your patience.

If it’s any consolation, we’ve completed a major upgrade to a new build pipeline and OpenSSL 3, which puts Mailspring on a solid foundation for another decade of security patches and new features.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.