Project to show Bug on Gmail IMAP Search.
- Install Dotnet Core 2.0 or later (or run on Container)
- Link to download and install: https://www.microsoft.com/net/download
- Create an Gmail account and send some emails to that.
- Create an Office365 account and send some emails to that.
- On root project folder, edit file .\enContactIMAP4SearchTest\ImapFourNovTests.cs
- Change line 13 set variable GMAIL_USERNAME with your Google Account login.
- Change line 14 set variable GMAIL_PASSWORD with your Google password.
- Change line 16 set variable OUTLOOK_USERNAME with your Google Account login.
- Change line 17 set variable OUTLOOK_PASSWORD with your Google password.
- The tests will count server emails by IMAP config, and expected more than one email as result.
- On root project folder, run the follow command to build project:
- dotnet build MailKit.sln
- On the root folder, run the test command:
- dotnet test .\enContactIMAP4SearchTest\enContactIMAP4SearchTest.csproj
- After the command you will see the Outlook tests pass and Gmail fail.
- NOTE: You can debug this tests to see all code either in Visual Studio Community or Visual Studio Code.
- NOTE2: The IMAP Client library is a open-source found on https://github.com/jstedfast/MimeKit