0 votes
using (Imap imap = new Imap())
{
    imap.ConnectSSL("smtp-mail.outlook.com");

    imap.Login("fairwaterteam2020@outlook.com", "Test@123");   

    imap.SelectInbox();

    imap.Close(true);
}

getting response:

85710002 NO LOGIN failed
by (200 points)

1 Answer

0 votes

Office365 no longer allows basic authentication.

You need to use OAuth 2.0:
https://www.limilabs.com/blog/office-365-basic-auth-is-disabled

by (300k points)
...