Hello Maxim,

On Tue, 16 Dec 2008 12:57:59 +0200 GMT (16/12/2008, 17:57 +0700 GMT),
Maxim Masiutin wrote:

MM> [+] /POP3FORCETOP command line option to use "TOP" command instead of 
"RETR" on POP3

Just asking: What is this good for?

>From RFC1725 we learn:

RETR msg

         Arguments:
             a message-number (required) which may not refer to a
             message marked as deleted

         Restrictions:
             may only be given in the TRANSACTION state
         Discussion:
             If the POP3 server issues a positive response, then the
             response given is multi-line.  After the initial +OK, the
             POP3 server sends the message corresponding to the given
             message-number, being careful to byte-stuff the termination
             character (as with all multi-line responses).

TOP msg n

         Arguments:
             a message-number (required) which may NOT refer to to a
             message marked as deleted, and a non-negative number
             (required)

         Restrictions:
             may only be given in the TRANSACTION state

         Discussion:
             If the POP3 server issues a positive response, then the
             response given is multi-line.  After the initial +OK, the
             POP3 server sends the headers of the message, the blank
             line separating the headers from the body, and then the
             number of lines indicated message's body, being careful to
             byte-stuff the termination character (as with all multi-
             line responses).

So, an "n" parameter would also have to be added by the user. But
then, what is it good for to download only the first n lines of a
message? You will have a reason to implement this, I am just curious
to hear it.

-- 

Cheers,
Thomas.

"There are 10 different kinds of people in this world -- those who
understand binary and those who don't."
http://thomas.fernandez.hat-gar-keine-homepage.de/

Message reply created with The Bat! 4.0.28.4
under Windows XP 5.1 Build 2600 Service Pack 2



________________________________________________________
 Current beta is 4.1.1.5 | 'Using TBBETA' information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to