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 客户端库是什么?
基础教程推荐
- 初始化列表*参数*评估顺序 2021-01-01
- 为什么 typeid.name() 使用 GCC 返回奇怪的字符以及如 2022-09-16
- GDB 显示调用堆栈上函数地址的当前编译二进制文 2022-09-05
- 通过引用传递 C++ 迭代器有什么问题? 2022-01-01
- 为什么 RegOpenKeyEx() 在 Vista 64 位上返回错误代码 2021-01-01
- 为什么派生模板类不能访问基模板类的标识符? 2021-01-01
- 我应该对 C++ 中的成员变量和函数参数使用相同的名称吗? 2021-01-01
- 如果我为无符号变量分配负值会发生什么? 2022-01-01
- 非静态 const 成员,不能使用默认赋值运算符 2022-10-09
- CString 到 char* 2021-01-01
