I am trying to retrieve mails on my Yahoo account using C#. I tested OpenPop to do that I write that
Pop3Client objClient = new Pop3Client();
objClient.Connect("pop.mail.yahoo.com", 995, true);
objClient.Authenticate("username","pass",AuthenticationMethod.UsernameAndPassword);
int msgCount = objClient.GetMessageCount();
MessageBox.Show(msgCount.ToString());
The problem that the server always did not accept user credentials but I'm sure the credentials are OK.
I tried the same code with my gmail account and every thing goes ok is something missing Yahoo want me to set it?