I am unable to get the correct message count in case of accessing gmail using OpenPop.Net. It works perfectly fine with hotmail give the correct email count that is in my inbox
pop3Client.Connect(popServerTextBox.Text, int.Parse(portTextBox.Text), useSslCheckBox.Checked);
pop3Client.Authenticate(loginTextBox.Text, passwordTextBox.Text,OpenPop.Pop3.AuthenticationMethod.UsernameAndPassword);
int count = pop3Client.GetMessageCount();