Hi guys,
i know there are external libraries out there like jwsmtp and vmime or poco which help you send email in c++. However i am having trouble configuring them and linking them. Therefore i would like to know if anyone has the source code for sending an email in c++(windows 7 os) through my gmail account.
If you really want to do it the hard way, you have to use a TLS library like OpenSSL or the Windows Schannel API to establish a TLS connection with the server. An example of how this can be done can be found here: http://www.coastrd.com/c-schannel-smtp
However, I think that it will be much easier to get those external libraries to work.