cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: pop3 seems broken?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 26 Mar 2010 15:13:46 +0100 (CET)

On Thu, 25 Mar 2010, Ben Greear wrote:

> I tried using pop3 to download an email. From the network trace below, it
> seems maybe it should do a LIST instead of RETR, and then RETR one or more
> of the IDs that the LIST returns?

That might very well be true. The recently added protocols I did: POP3, IMAP
and SMTP are all rather early and untested implementations so far and we need
to smoothen out the sharp corners on them to make them good and useful.

The POP3 code assumes that you tell it an inbox to get with RETR in the URL. I
figure we should perhaps allow a trailing slash to let it do LIST (FTP-style)
so that an app can figure out what's possible to get.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-03-26