C/C++ 中最常用和最灵活的 SMTP 客户端库是什么?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/8995476/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
What is the most used and flexible SMTP Client library in C/C++?
提问by Tango Bravo
I'm looking to crowd-source this, as I'm having bit of difficulty finding an "industry standard" library for SMTP in C/C++.
我正在寻找众包,因为我在 C/C++ 中为 SMTP 找到一个“行业标准”库有点困难。
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.
我正在寻找能够发送具有不同 MIME 格式和附件的电子邮件的能力。我宁愿不通过编写一个隐蔽的库来重新发明轮子。但我也希望能够将它包含在我的软件中,而不会出现奇怪的许可问题。
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.
我已经阅读了这篇相关文章:在开发 SMTP 客户端时需要考虑哪些 RFC?,关于相关的 RFC,我也在查看 RFC。
采纳答案by Kerrek SB
回答by Brecht Sanders
libquickmailhas all the features you need. It supports things like multiple alternative bodies and attachments.
libquickmail具有您需要的所有功能。它支持诸如多个替代主体和附件之类的东西。