问题
I asked the same question a few days ago, the Author of MailKit helped and showed me the working code.
A few days later, when I am back to the project, I run the same code, it stopped working.
I noticed that Google has updated its UI
The new Application Type List:
The old list:
Could anyone shed light on this ever changing Gmail API please?
来源:https://stackoverflow.com/questions/60830442/how-to-use-mailkit-to-retrieve-emails-from-gmail