This program uses winsock to connect to a SMTP server then sends the email that you entered before, code is nicely commented, it is not a difficult code, it's easy to understand and to extend the program.
Returns
The data that the server sends back wil be displayed in a sort of dialog screen.