Visual Basic Online Course - POP3 Method Reading / Receiving Emails in Vb.Net

Visual Basic Online Course - Reading / Receiving Emails in Vb.Net

Visual Basic Online Course - POP3 Method Reading / Receiving Emails in Vb.Net
Visual Basic .Net - POP3 Method Reading / Receiving Emails (vb .net)


I was able to finish the (send Email) part successfully, though I've not finished the attachment and the Html parts yet, but the (receiving / reading Emails) part still out there somewhere I did not do it, though I managed to connect to POP3 servers and receive the +OK response successfully.

Hotmail Mail Server Settings

- Incoming Server(pop3.live.com) port(995) Secure Connection (SSL) is a must
- Outgoing Server(smtp.live.com) port(587) Secure Connection (TLS) is a must
Note that Hotmail.com have both free and paid accounts, but both supports E-mail clients. So you should go inside your Email settings to enable POP3 and forwarding option to be able to work with Email clients.

Yahoo Mail Server Settings

Incoming Server(pop.mail.yahoo.com) port(995) Secure Connection (SSL) is not a must if you're using the free mail.
Outgoing Server(smtp.mail.yahoo.com) port(465) Secure Connection (TLS) is a must
Note that Yahoo.com have both free and paid accounts, but both supports E-mail clients. So you should go inside your Email settings to enable POP3 and forwarding option to be able to work with Email clients.

Gmail Mail Server Settings

Incoming Server(pop.gmail.com) port(995) Secure Connection (SSL) is a must
Outgoing Server(smtp.gmail.com) port(587) Secure Connection (TLS) is a must
Full source code and tutorial about receiving Emails using VB .net 2010 and POP3 Commands

1) Understanding E-mails - Settings - Start Coding
2) Receiving response from POP3 server
3) Retrieving the number of E-mails from your [Inbox]
4) Solving the POP3 connect\disconnect without errors
5)  Source Code Download

Notes :

  • In order to get fully understanding to this topic, you need to read the whole 5 sections as they are already a summary to what i found there.
  • There is no direct source code application using VB.Net to receive Emails from POP3 Client, only this one is available.
  • Microsoft did not offer a built-in function that enables you to receive Emails Using POP3 Commands, so this is just a work around solution and it was tested on Hotmail.com and Gmail.com.
  • Gmail.com sometimes uses a 2-steps verification methods, so i had to work that too here.
ENJOY
Regards/ Evry1falls
Please feel free to try, test and update then contact me

Here are some online Visual Basic lessons and courses :

Popular posts from this blog

Visual Basic Online Courses DataGridView Add Edit Delete

VB .NET WebView2 WinForms tips

VB .NET Google Drive Api Source Code Example

Visual Basic 2010 Working With DataBase Full Project Example

DAO in VB .NET MS ACCESS Database

VB .NET DropBox Api Source Code Example