Re: How to fetch pop3 mail using libcurl

2011-10-30 Thread Daniel Stenberg
On Sun, 30 Oct 2011, Graeme Gill wrote: You can't on the one hand keep saying "patches welcome" whenever someone requests a new feature (which is what happened last time someone asked for pop3 delete), and on the other hand come back weeks after you get such a patch contributed, and drop them

Re: How to fetch pop3 mail using libcurl

2011-10-29 Thread Graeme Gill
Daniel Stenberg wrote: > They would need to be separate, which if I recall things your patch > wasn't and it did the delete part in a way I didn't approve of. Or do I > remember things wrong? You can't on the one hand keep saying "patches welcome" whenever someone requests a new feature (which is

Re: How to fetch pop3 mail using libcurl

2011-10-22 Thread Daniel Stenberg
On Sat, 22 Oct 2011, Graeme Gill wrote: Note the bug I posted about a while ago, where it fails to handle a LIST command when there are no messages - this is a dot stuffing bug. There is no message delete support either. There have been some issues noted recently with dot stuffing not working

Re: How to fetch pop3 mail using libcurl

2011-10-21 Thread Graeme Gill
mush...@sympatico.ca wrote: > I am looking for example code on how to fetch pop3 mail using libcurl. > Thanks. Note the bug I posted about a while ago, where it fails to handle a LIST command when there are no messages - this is a dot stuffing bug. There is no message delete support either.

RE: How to fetch pop3 mail using libcurl

2011-10-21 Thread Patrick Monnerat
Michael Wood wrote: > Port 587 is the "submission" port. It uses SMTP and the client and server can negotiate an upgrade to TLS like they can on port 25. > Port 465 is the smtps port, although as far as I know, use of port 465 is discouraged. As a more general answer, there is 2 ways to ent

Re: How to fetch pop3 mail using libcurl

2011-10-21 Thread Michael Wood
On 21 October 2011 15:18, wrote: [...] > * libcurl smtp seems to work fine using this argument > 'smtp://smtp.gmail.com:587' for example. Is there smtps:// version of this Port 587 is the "submission" port. It uses SMTP and the client and server can negotiate an upgrade to TLS like they can on

RE: How to fetch pop3 mail using libcurl

2011-10-21 Thread mushubi
> > 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

RE: How to fetch pop3 mail using libcurl

2011-10-21 Thread Daniel Stenberg
On Fri, 21 Oct 2011, mush...@sympatico.ca wrote: 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 upgrade

RE: How to fetch pop3 mail using libcurl

2011-10-21 Thread mushubi
> Allow me to give you a very simple one written on demand: > > #include > #include > > int main(void) > { >CURL *curl; >CURLcode res; > >curl = curl_easy_init(); >if(curl) { > curl_easy_setopt(curl, CURLOPT_URL, > "pop3://user:passw...@example.com"); > res = curl_e

Re: How to fetch pop3 mail using libcurl

2011-10-20 Thread Daniel Stenberg
On Thu, 20 Oct 2011, mush...@sympatico.ca wrote: I am looking for example code on how to fetch pop3 mail using libcurl. Allow me to give you a very simple one written on demand: #include #include int main(void) { CURL *curl; CURLcode res; curl = curl_easy_init(); if(curl

How to fetch pop3 mail using libcurl

2011-10-20 Thread mushubi
I am looking for example code on how to fetch pop3 mail using libcurl. Thanks. paschal. --- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail