hello,
my password contains a " at the end and I noticed in the error report that it is not correctly escaped in the code, the log shows me:
----------IMAP----------
connect mailcore::IMAPSession:0x7ffc4284b910
- OK Yandex IMAP4rev1 at mail-imap-production-93.sas.yp-c.yandex.net:993 ready to talk with ::ffff:00000:54480, 2023-Apr-06 01:17:59, xHYfWM5pJa60
ssl connect imap.yandex.com 993 2
OpenSSL version: OpenSSL 1.1.0f 25 May 2017
1 CAPABILITY - CAPABILITY IMAP4rev1 CHILDREN UNSELECT LITERAL+ NAMESPACE XLIST BINARY UIDPLUS ENABLE ID AUTH=PLAIN AUTH=XOAUTH2 IDLE MOVE
1 OK CAPABILITY Completed.
connect ok
login
2 LOGIN “mymail@domain.com” “mypassword!”"
2 NO [AUTHENTICATIONFAILED] LOGIN invalid credentials or IMAP is disabled sc=xHYfWM5pJa60_052218_imap-production-93
so there is some escaping error imo.
best