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
Office365 no longer allows basic authentication.
You need to use OAuth 2.0: https://www.limilabs.com/blog/office-365-basic-auth-is-disabled