cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: How to fetch pop3 mail using libcurl

From: <mushubi_at_sympatico.ca>
Date: Fri, 21 Oct 2011 13:18:33 +0000

> > curl_easy_setopt(curl, CURLOPT_URL, "pop3://pop.gmail.com:995");
>
> 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.
>
Thanks pop3s got me further.
Additional questions:
* The client hangs at the end ( after checking messages) for some reason. It does not close connection.
* it prints the password uncerypted to the console. The smtp client prints encrypted password
* libcurl smtp seems to work fine using this argument 'smtp://smtp.gmail.com:587' for example. Is there smtps:// version of this paschal

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-10-21