smiley22 / S22.Imap

A free, easy-to-use and well-documented .NET library component for communicating with IMAP servers
http://smiley22.github.com/S22.Imap/Documentation/
MIT License
211 stars 115 forks source link

xm002 NO SELECT Unsafe Login. Please contact kefu@188.com for help #167

Open ym9288 opened 3 years ago

ym9288 commented 3 years ago

163 mailbox database, including the author, everyone should be Chinese, right? I'll use Chinese

I started the stamp service in the mailbox settings, and the authorization code was also set. Using this library, I can connect, but once search (searchcondition. Unseen()) is called

There will be the above error, Baidu said a bunch of links can be verified: https://config.mail.163.com/settings/imap/index.jsp?uid=konysiva@163.com But this link seems to be invalid, and can't be opened. Do you have any solutions???

Thank you all for your contribution

ym9288 commented 3 years ago

I found the problem. It's said that I want to send the ID command before the login method of the source code. I tried, but I didn't report an error. Someone explained that I need to show my identity before logging in, that is, I want to send the client information, such as name, version no, system version, etc

But here comes a new problem

client.NewMessage += Client_ NewMessage;

When the handler subscribing to the NewMessage event will report: the server does not support the IMAP4 idle command exception. This error completely blinds me