Hi,
Google recently started to enforce OAuth 2.0 authentication for IMAP, and give "Authentication failure" if not correctly provided.
Information about IMAP headers can be found here:
">https://developers.google.com/gmail/xoauth2_protocol
How to implement this with Rebex Secure Mail?
What I tried was to change my original code from:
imapClient.Login(username, password);
to:
imapClient.Login(accessToken, ImapAuthentication.OAuth20);
But I get the ImapException
"Unexpected continuation request received from the server."