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 客户端库是什么?
基础教程推荐
- 随机插入/删除的综合向量与链表基准 2022-01-01
- 如何更改 SysDateTimePick32 或 CDateTimeCtrl 的背景颜色? 2022-01-01
- 为什么我们不能使用“虚拟继承"?在 COM 中? 2022-01-01
- 与 CAS 的原子交换(使用 gcc 同步内置函数) 2022-01-01
- 如何在 C++ 中正确使用命名空间? 2022-01-01
- c++ STL设置差异 2022-01-01
- C++:获取传递给函数的多维数组的行大小 2021-01-01
- 提升 ASIO 流缓冲 2021-01-01
- 如何部分禁用 cmake C/C++ 自定义编译器检查 2021-01-01
- 将不可复制的闭包对象传递给 std::function 参数 2021-01-01
