How to retrieve POP3 emails in VB.Net
Posted: Sun Apr 25, 2010 3:33 am
Add the class attached in the ZIP file to your project and use it as below.
Code: Select all
Dim mail As New Pop3Mail
mail.Connect("mail.xxxx.net", "user", "password")
For Each msg As Pop3Mail.Pop3Message In mail.List
Trace.WriteLine(DirectCast(mail.Retrieve(msg), Pop3Mail.Pop3Message).message)
Next