cURL / Mailing Lists / curl-library / Single Mail

curl-library

PATCH: pop3: Get message listing if none specified in URL.

From: Ben Greear <greearb_at_candelatech.com>
Date: Fri, 26 Mar 2010 16:15:59 -0700

If you pass a URL to pop3 that does not contain a message ID as part of
the URL, it will currently ask for 'INBOX' which just causes the pop3
server to return an error.

The attached patch treats empty message ID as a request for LIST
(list of pop3 message IDs). User's code could then parse this and
download individual messages as desired.

Thanks,
Ben

-- 
Ben Greear <greearb_at_candelatech.com>
Candela Technologies Inc  http://www.candelatech.com


-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2010-03-27