Learn how to connect to a Gmail mailbox and download the most recent messages using the IMAP protocol and C#.
Logging to Gmail via IMAP using your Google password doesn't work anymore. You have to use App Password instead. Learn how to generate App Passwords and use them in your C# code.
How to enable IMAP or POP3 access to a Gmail account. Resolving the "password incorrect" error using App Passwords or OAuth 2.0.
Steps for enabling 'Sign in with Google' and OAuth 2.0 in a third-party application. Registration in Google Cloud Console. Obtaining Client ID and App Secret. Adding users. OAuth consent screen configuration.
This release adds support for .NET 7, the latest iteration of .NET platform.