cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Enhancing POP3 to support extra commands

From: Steve Holme <steve_holme_at_hotmail.com>
Date: Tue, 6 Dec 2011 22:40:44 +0000

Hi Dan,

> > > I would imagine you'd use -Q to do a full series of commands at once
> > > while connected. Like issuing a series of deletes or so.
> >
> > Okay - I'll leave that for a follow up patch as surely the URL would
> > need to change for each message to delete ?
>
> Commands specified with -Q are orthogonal (mostly) to the URL. The
> URL specifies the file to download or upload, but the quote commands
> can specify just about anything. To delete a message, you wouldn't do
> -Q DELE but rather -Q 'DELE 5', giving the entire command.

Many thanks for the clarity but does that mean you could do:

-Q 'DELE 5 6 7 8' to delete message 5, 6, 7 and 8 with a URL of
pop3://mail.domain.com/5 ?

Cheers

Steve
 

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