cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Enhancing POP3 to support extra commands

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Thu, 1 Dec 2011 11:38:30 -0800

On Thu, Dec 01, 2011 at 05:17:04PM +0000, Steve Holme wrote:
> I have done a little research and couldn't really find anything... except
> RFC2384:
>
> http://tools.ietf.org/html/rfc2384
>
> This specifies a format for URL based connection strings (including
> authentication) for pop3 but not message manipulation - similar to mutt I
> guess.

Another possibility is to allow a syntax similar to the IMAP URL scheme
(RFC 5092). But I looked at that and the IMAP URLs are all about accessing
messages, not manipulating them.

How about this instead: rather than embedding operations into the URL
itself, why not use the "--quote" option, or even the "--request" option
to specify them? That's analagous to how this would be done for HTTP,
FTP and SFTP; to delete a file on those, you'd use -X DELETE, -Q DELE X and
-Q rm X, respectively. That actually seems more natural to me than inventing
a URL scheme to do the same.

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-12-01