title: EAGetMail, How to read all emails from POP3 Gmail server?
body: <p>I'm using <a href="http://www.emailarchitect.net/eagetmail/kb/csharp.aspx?cat=18" rel="nofollow">EAGetMail</a> library to read emails from Gmail.
  This is my code:</p>
  
  <pre><code>    private void readMails(){
          MailServer oServer=new MailServer("pop.gmail.com", "something@gmail.com", "noneedtoseethis", ServerProtocol.Pop3);
          MailClient oClient = new MailClient("Client");
          oServer.SSLConnection = true;
          oServer.Port = 995;
          try {
              oClient.Connect(oServer);
              MailInfo[] infos = oClient.GetMailInfos();
              Console.WriteLine(infos.Length);
              for (int i = 0; i &lt; infos.Length; i++){
                  MailInfo info = infos[i];
                  Mail oMail = oClient.GetMail(info);
  
                  Console.WriteLine("From: {0}", oMail.From.ToString());
                  //oClient.Delete(info);
              }
              oClient.Quit();
          } catch (Exception ep) {
              Console.WriteLine(ep.Message);
          }
      }
  </code></pre>
  
  <p>Though it appears the only thing that it gets are the new messages I receive<br> which are 2 or 3 every five minutes.<br><br>
  But I want to read all emails I have in the inbox, not just the new coming messages<br>
  How can I do that? <br></p>