title: Can't get messages using IMAP
body: <p>I'm trying to learn how to incorporate IMAP in my code. I did some simple tests with S22.IMAP library but got an error <strong><em>(S22.IMAP Bad Server Response Exception)</em></strong>, It does print <code>we are connected</code>:</p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Text;
  using S22.Imap;
  using System.Net.Mail;
  
  
  namespace ConsoleApplication1
  {
  class Program
  {
      static void Main(string[] args)
      {
          using (ImapClient Client = new ImapClient("1.1.1.1", 143, "XXXXX", "XXXX", AuthMethod.Login, false))
          {
              Console.WriteLine("We are connected");
              uint[] uids = Client.Search(SearchCondition.Unseen());
              MailMessage[] messages = Client.GetMessages(uids);
          }
       }
     }
  }
  </code></pre>
  
  <p>The exception is at the MailMessage line.</p>
  
  <p>I'm just new to IMAP so please help me with this.</p>