I wanted to show some sample code for receiving messages with FreePop3:
// Create the client
Pop3Client freePopClient = new Pop3Client("popserver.yourcompany.com", "user", "pass");
// Pop off all of the messages, this will also connect and disconnect
// the TCP session
Pop3Client.Pop3MessageCollection messages = pop3.PopMessages();
foreach(Pop3Client.Pop3Message message in messages)
{
// Do something cool here
}
Could it be any simpler?
-Brendan
Posted
10-28-2004 1:21 PM
by
Brendan Tompkins