I have struggled to send email from my MFC applications using severl methods:

1) http via my server - works but limited
2) M$ Outlook automation - works but not easily interchangeable between machines
3) Windows Sockets - available information simply too complicated
4) Purchase an ActiveX control - I hate black box solutions and am too cheap

I have looked at P. J. Naughter's class
CPJNSMTPConnection v2.99
An MFC class to encapsulate the SMTP protocol

This approach requires the implementation of OpenSSL which turns out to be nothing short of a nightmare to install (so I never got it to run).

I am looking for an example of an application that utilizes SMTP via Windows sockets api. I have no idea if such is possible and have some serious doubts because I have not ever found such an example after years of searching.

Would appreciate any help.