in mail #775, abhir joshi had described some of the pop3 arguments (e.g. USER, PASS, LIST, DELE, QUIT) that cud b passed 2 the pop3 server 2 delete mails directly from the server w/o d'loading them. i tried the above cmds with my email service provider, the LIST cmd shows only the mail no. & size. i also checked some of the RFCs for pop3, but none of them gave me any cmds that i cud use. i wud like 2 learn about more such cmds & some sites/ books where i cud get some info about them. i actually want 2 write my own pop3/smtp based email client as my software engg project. any help regarding the pop3 & smtp cmds wud b greatly appreciated.
thanx!
Pradnyesh Sawant wrote:
i tried the above cmds with my email service provider, the LIST cmd shows only the mail no. & size.
To delete, use the DELE command. What's difficult to understand in this?
i also checked some of the RFCs for pop3, but none of them gave me any cmds that i cud use.
You could use to do what? Delete? DELE.
i wud like 2 learn about more such cmds & some sites/ books where i cud get some info about them.
Read the RFC - that's it. If it's not there in the RFC then POP3 doesn't support it.
-mj
On Mon, Feb 10, 2003 at 12:12:07AM +0530, Pradnyesh Sawant wrote:
PASS, LIST, DELE, QUIT) that cud b passed 2 the pop3 server 2 delete mails directly from the server w/o d'loading them. i tried the above cmds with my email service provider, the LIST cmd shows only the mail no. & size.
And thats the way it should behave. You are probably expecting to see the 'Subject:' or 'From:' lines for each message, which it won't. Refer to RFC1939. Messages can be directly deleted from the server on the basis of their size and not the subject because for knowing the subject you got to retrieve the header. But POP3 doesn't have a command for retrieving *only* the header. The RETR command gets the whole message.
On Mon, 10 Feb 2003, Abhir Joshi wrote:
subject you got to retrieve the header. But POP3 doesn't have a command for retrieving *only* the header. The RETR command gets the
try TOP <message_no> 0
On Mon, Feb 10, 2003 at 10:35:50AM +0530, Philip S Tellis wrote:
try TOP <message_no> 0
mea culpa
in mail #775, abhir joshi had described some of the pop3 arguments (e.g.
USER,
PASS, LIST, DELE, QUIT) that cud b passed 2 the pop3 server 2 delete mails directly from the server w/o d'loading them. i tried the above cmds with my email service provider, the LIST cmd shows
only
the mail no. & size. i also checked some of the RFCs for pop3, but none of them gave me any
cmds
that i cud use.
STAT => gives [no of mails and mailbox size] LIST => gives [total mails and size of each mail] DELE mail# => [deletes the mail from server after quit] TOP mail# 0 => gives [mail headers of mail#] TOP mail# linecount gives [linecount lines of mail# mail]
i wud like 2 learn about more such cmds & some sites/ books where i cud
get
some info about them.
There are 1000s of such pop3/smtp client exists on sf.net,hotscripts.com. Just need to googlise "pop3/smtp client language name.
i actually want 2 write my own pop3/smtp based email client as my software engg project. any help regarding the pop3 & smtp cmds wud b greatly appreciated.
yahh, above sites will do your project , enjoy carbon-copying
Rich
On Mon, 10 Feb 2003, Pradnyesh Sawant wrote:
in mail #775, abhir joshi had described some of the pop3 arguments (e.g. USER, PASS, LIST, DELE, QUIT) that cud b passed 2 the pop3 server 2 delete mails directly from the server w/o d'loading them. i
ok, first of all... 2 != to b != be
how many keystrokes exactly did you save by taking these hard to read shortcuts?
tried the above cmds with my email service provider, the LIST cmd shows only the mail no. & size. i also checked some of the RFCs for pop3, but none of them gave me any cmds that i cud use. i wud like 2
Which RFCs did you check? The relevant RFC will give you all the commands that you can use, no more and no less. If you can't do what you want with those commands, then make a proposal to the guys who've made the RFC - that's what an RFC is for - Request for Comments.
Philip