does any one had success with gmail smtp servers ? smtp.gmail.com to send emails from c++ code ? i know its using secure layer but i have no idea how to implement such one
Sending to GMail over SSL connection on port 465 does work, and in a straightforward way. You establish connection, you do SSL initialization/handshake, then send EHLO
command and it is the usual way from there. You also need login or plain authentication with the server to make it accept your messages.