Outlook
A family of Microsoft email and calendar products.
4,494 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
imapClient.Connect(account.Server, account.Port, SecureSocketOptions.SslOnConnect, tokenSource.Token);
//imapClient.Authenticate(account.Account, account.Password, tokenSource.Token);
imapClient.AuthenticationMechanisms.Add("XOAUTH2");
imapClient.Authenticate(System.Text.Encoding.UTF8,account.Account, account.Password, tokenSource.Token)
c# code so login prompt login failure
How do I log in successfully