curl / Mailing Lists / curl-library / Single Mail


libcurl smtp error list?

From: Deven <>
Date: Fri, 29 Jun 2018 09:44:33 +0530


I am sending email using SMTPS and this works fine. I am testing with
gmail, but this will change later.
I want to handle errors from curl_easy_perform() and provide a feedback
to the users on what went wrong (SMTP server not correct, authentication
failure, network not reachable, etc.).
The errors mentioned in curl.h header are quite general (at least to
me). Is there a list of protocol specific errors (in this case SMTP)?

Platform: Linux Ubuntu
Curl Version:7.60.0


Received on 2018-06-29