title: Retrieve Yahoo email details using C#
body: <p>I am trying to retrieve mails on my Yahoo account using C#. I tested OpenPop to do that I write that </p>
  
  <pre><code>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());
  </code></pre>
  
  <p>The problem that the server always did not accept user credentials but I'm sure the credentials are OK.</p>
  
  <p>I tried the same code with my gmail account and every thing goes ok is something missing Yahoo want me to set it?</p>