title: How to retrieve the number of E-mail messages from mail server using VB.net and IMAP?
body: <p>I managed to get a successful reply from the mail server (Gmail.com) using IMAP and vb.net with this code in this <a href="https://stackoverflow.com/q/12126124/1610671">post</a></p>
  
  <p>Now, I want to retrieve the number of E-mail messages from Inbox folder, how to do it?!</p>