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.
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.
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
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.
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
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.
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.