Can't connect my Hotmail account

----------IMAP----------
connect mailcore::IMAPSession:009AF5A8

  • OK The Microsoft Exchange IMAP4 service is ready. [RABYADEAUAAyADcAMwBDAEEAMAAwADIANgAuAEEAUgBFAFAAMgA3ADMALgBQAFIATwBEAC4ATwBVAFQATABPAE8ASwAuAEMATwBNAA==]
    ssl connect imap-mail.outlook.com 993 2
    OpenSSL version: OpenSSL 1.1.0f 25 May 2017
    1 CAPABILITY
  • CAPABILITY IMAP4 IMAP4rev1 AUTH=PLAIN AUTH=XOAUTH2 SASL-IR UIDPLUS ID UNSELECT CHILDREN IDLE NAMESPACE LITERAL+
    1 OK CAPABILITY completed.
    connect ok
    login
    2 LOGIN “hbbb555@hotmail.com” *********
    2 NO LOGIN failed.

Use application specific password. You can generate one using that link : https://account.live.com/proofs/AppPassword

Once you have the password, copy paste it in your login page in mailspring.