Please refer to src\Koolwired.Imap\ImapAuthenticate.cs, line #195:
if (result.StartsWith("* OK") || result.Substring(7, 2) == "OK")
7 is the length of "kw1234 " prefix (tag), and I think it should have a meaningful reference.
2 is the length of "OK", which is fine, but you may consider writing "OK".Length as well.
< Previous |
1 |
Next >
Add a Reply
This forum does not allow anonymous participation.
Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.