cURL / Mailing Lists / curl-library / Single Mail


RE: How to fetch pop3 mail using libcurl

From: Daniel Stenberg <>
Date: Fri, 21 Oct 2011 14:47:34 +0200 (CEST)

On Fri, 21 Oct 2011, wrote:

> curl_easy_setopt(curl, CURLOPT_URL, "pop3://");

Is this service+port perhaps assuming SSL at once? Then you probably want
pop3s://, as the normal pop3:// will assume that you start out plain TCP and
the connection gets upgraded to SSL along the way.

> * About to connect() to port 995 (#0)
> * Trying * connected
> * response reading failed

This seems to indicate exactly this...


This indicate a bug in libcurl methinks, as if the control connection is not
found to be OK it should not attempt to send the QUIT command over it... but
it shouldn't be a problem that affects your case much.

List admin:
Received on 2011-10-21