What is the most used and flexible SMTP Client library in C/C++?(C/C++ 中最常用和最灵活的 SMTP 客户端库是什么?)
问题描述
我正在寻找众包这个,因为我很难找到 C/C++ 中的 SMTP 的行业标准"库.
I'm looking to crowd-source this, as I'm having bit of difficulty finding an "industry standard" library for SMTP in C/C++.
我正在寻找发送具有不同 MIME 格式和附件的电子邮件的功能.我宁愿不通过编写一个薄薄的库来重新发明轮子.但我也希望能够将它包含在我的软件中,而不会出现奇怪的许可问题.
I'm looking for the ability to send emails with different MIME formats and attachments. I'd rather not re-invent the wheel by writing a thinly veiled library. But I'd also like to be able to include it in my software without odd licensing issues.
我已经阅读了这篇相关文章:在开发 SMTP 客户端时需要考虑哪些 RFC?,关于相关的 RFC,我也在查看 RFC.
I've read over this related article: What RFCs need to be considered in developing an SMTP client?, regarding the RFCs which are relevant, and I'm looking over the RFCs too.
推荐答案
我个人最喜欢的是 VMime,对于仅限 C++,但享有盛誉的 libcurl 也支持 SMTP(以及许多其他功能).
My personal favourite is VMime, for C++ only, but the highly reputed libcurl also has SMTP support (as well as many other features).
VMime 拥有双重许可;我认为 curl 有一种 MIT 风格的许可证.
VMime has a dual license; I think curl has a sort of MIT-style license.
这篇关于C/C++ 中最常用和最灵活的 SMTP 客户端库是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:C/C++ 中最常用和最灵活的 SMTP 客户端库是什么?


基础教程推荐
- 如何在 C++ 中初始化静态常量成员? 2022-01-01
- 常量变量在标题中不起作用 2021-01-01
- 如何将 std::pair 的排序 std::list 转换为 std::map 2022-01-01
- 这个宏可以转换成函数吗? 2022-01-01
- 在 C++ 中计算滚动/移动平均值 2021-01-01
- 如何通过C程序打开命令提示符Cmd 2022-12-09
- C++结构和函数声明。为什么它不能编译? 2022-11-07
- 如何检查GTK+3.0中的小部件类型? 2022-11-30
- 我有静态或动态 boost 库吗? 2021-01-01
- 静态库、静态链接动态库和动态链接动态库的 .lib 文件里面是什么? 2021-01-01