curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: smtp-tls example: Failure when receiving data from the peer

From: W. Martin Borgert via curl-library <>
Date: Tue, 30 Jul 2019 17:03:19 +0200

Quoting Christian Schmitz via curl-library <>:
>> * Connected to ( port 465 (#0)
>> ### long time nothing seems to happen
>> * response reading failed
> That is the port number for SSL and you are talking plain text.
> You may want to enable SSL, e.g. with smtps:// URL.

Ouch! Thanks!
Yes, I had smtp*s* on other URLs, but not on that one.
Now it works as expected.

Received on 2019-07-30