title: How to read latest email using pop3 c#
body: <p>I want to read emial from my gmail account.
  I am using "OpenPop.Pop3" to read email from my gmail account, I am using below code :-</p>
  
  <pre><code>using OpenPop.Pop3;    
  public DataTable ReadEmailsFromId()
          {
              DataTable table = new DataTable();
              try
              {
                  using (Pop3Client client = new Pop3Client())
                  {
                      int messageCount = client.GetMessageCount();
                      for (int i = messageCount; i &gt; 0; i--)
                      {
                          table.Rows.Add(client.GetMessage(i).Headers.Subject, client.GetMessage(i).Headers.DateSent);
                          string msdId = client.GetMessage(i).Headers.MessageId;
                          OpenPop.Mime.Message msg = client.GetMessage(i);
                          OpenPop.Mime.MessagePart plainTextPart = msg.FindFirstPlainTextVersion();
                          string message = plainTextPart.GetBodyAsText();                           
                      }
                  }
              }
          return table;
          }
  </code></pre>
  
  <p>But its fetching emails before 4 March 2016, Not fetching new/latest emails.
  Is there any restriction in "OpenPop.Pop3" or am I missing something?</p>