Win32 SendMail sample.

These three pieces setup a html form and used the local UW SMTP server to send e-mail to a given user.