I have managed to:
- Connect to Gmail.com POP server (pop.gmail.com) Port 995 using Socket methods (TcpClient) and POP3 Commands (USER, PASS, STAT)
- Get successful response from Gmail.com POP server using POP3 (STAT) command to my VB.net application (+OK)
- Retrieve E-mails list from my Gmail.com account
- Read those E-mails in plain Text format using a Textbox control.
The problem is that i get all the E-mails from the whole account, means : If the inbox folder has (90) E-mails, sent folder has (10) E-mails and trash folder has (10) E-mails, then i get (100) E-mails in my application and they are not categorized, means you can not tell which one of them from inbox and which one is from trash.
So, my question is:
- Is there a way to retrieve these Folders separately in my VB.net application ?