attachments:
How to read email messages using Simple MAPI
MapiSendMail class for Visual FoxPro application
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)