curlpp icon indicating copy to clipboard operation
curlpp copied to clipboard

SMTP support?

Open giulianoc opened this issue 7 years ago • 7 comments

Hi, is SMTP supported by curlpp? If not, will it be supported in the future? Any plan for that? if yes, may I have an example sending an email using curlpp?

Best regards Giuliano

giulianoc avatar Feb 21 '18 19:02 giulianoc

:+1: I would use this library if it contained SMTP client support

ericcurtin avatar Mar 13 '18 11:03 ericcurtin

libcurl supports it, so it should be easy to translate the following example for cURLpp. Is there someone willing to add that as an example?

jpbarrette avatar Mar 13 '18 14:03 jpbarrette

Sorry, I didn't mean to close this issue.

jpbarrette avatar Mar 13 '18 14:03 jpbarrette

That sounds like a good first step... Maybe a few helper functions or classes after we translate that example to cURLpp

ericcurtin avatar Mar 13 '18 14:03 ericcurtin

Have this work been done? I want to use this library for smtp too.

passerby888 avatar Dec 24 '18 03:12 passerby888

Created a pull-request with the changes related to SMTP support. They are 3 added lines of library code (SMTP-related options) and the example translated from C/libcurl to C++/curlpp. The pull-request commit-checks will probably fail because continuous-integration/appveyor is broken for a long time now.

alex-che avatar Aug 29 '19 09:08 alex-che

Will @alex-che’s branch be merged into the official repo in the near future? The PR looks like a pretty straight-forward addition, and the example is also very helpful. I just wonder why this isn’t part of the official repo yet while other things were merged in the meantime?

rbugajewski avatar May 19 '20 10:05 rbugajewski