如何在 C++ 中使用 yahoo 或 gmail 发送电子邮件 [英] How to send emails using yahoo or gmail in c++

查看:29
本文介绍了如何在 C++ 中使用 yahoo 或 gmail 发送电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

I wanna send an email in my c++ program, it seems little complex. Is there way to use yahoo or gmail to use them to send my emails?

解决方案

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.

这篇关于如何在 C++ 中使用 yahoo 或 gmail 发送电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆