On Fri, 26 Mar 2010, Ben Greear wrote:

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.

I completely agree with this (and it so matches how we do it with FTP so it makes perfect sense). If you want to go for bonus points, try adding a test case for this as well!

--

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

Reply via email to