I need help with a c++ code that can send emails with attachments via SMTP

(Gmail). I haven't had any luck finding anything. Any help will be appreciated.