What is the most used and flexible SMTP Client lib

2020-02-10 06:46发布

I'm looking to crowd-source this, as I'm having bit of difficulty finding an "industry standard" library for SMTP in C/C++.

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.

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.

标签: c++ c smtp
2条回答
成全新的幸福
2楼-- · 2020-02-10 07:23

libquickmail has all the features you need. It supports things like multiple alternative bodies and attachments.

查看更多
太酷不给撩
3楼-- · 2020-02-10 07:24

My personal favourite is VMime, for C++ only, but the highly reputed libcurl also has SMTP support (as well as many other features).

VMime has a dual license; I think curl has a sort of MIT-style license.

查看更多
登录 后发表回答