Send an email to gmail, hotmail, yahoo, etc This is a simple example showing how to send mail using libcurl's SMTP capabilities. It builds to add authentication and, more importantly, transport security to protect the authentication details from being snooped.