POP3:
How to read email messages using Simple MAPI
Sending email messages with Simple MAPI
Using custom Simple MapiSendMail class
Winsock: reading email messages (POP3, port 110)
Winsock: sending email messages (SMTP, port 25)