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 <curl-library_at_cool.haxx.se>
Date: Tue, 30 Jul 2019 17:03:19 +0200

Quoting Christian Schmitz via curl-library <curl-library_at_cool.haxx.se>:
>> * Connected to myprovider.com (123.45.123.45) 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.

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2019-07-30