How to send emails using yahoo or gmail in c++

梦想与她 提交于 2019-12-02 06:08:12
Bas Bossink

A basic internet search reveals the following:

  1. C++ SMTP example
  2. VMime a C++ Mail library
  3. libsmtp a C library to send mail via smtp

In short if you have a gmail or yahoo account you can use their SMTP server to send messages using either of the three links above to assist you in using SMTP.

You could try using the SMTPClientSession from the POCO library.

This tutorial has everything you need, if you are working in a .net environment.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!