User Tools

Site Tools


protocols:hf-pop

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
protocols:hf-pop [2018/08/20 12:41] – [The TRANSACTION State] rootprotocols:hf-pop [2018/08/20 12:43] (current) – [The UPDATE State] root
Line 440: Line 440:
 maildrop. maildrop.
  
 +==== The QUIT Command ====
 +
 +__Usage:__
   QUIT   QUIT
      
-  Arguments: none+__Arguments:__ none
      
-  Restrictions: none+__Restrictions:__ none
      
-  Discussion+__Discussion:__ 
-  The POP3 server removes all messages marked as deleted from the maildrop and +The POP3 server removes all messages marked as deleted from the maildrop and 
-  replies as to the status of this operation. If there is an error, such as a resource +replies as to the status of this operation. If there is an error, such as a resource 
-  shortage, encountered while removing messages, the maildrop may result in having +shortage, encountered while removing messages, the maildrop may result in having 
-  some or none of the messages marked as deleted be removed. In no case may the +some or none of the messages marked as deleted be removed. In no case may the 
-  server remove any messages not marked as deleted. +server remove any messages not marked as deleted. 
-   + 
-  Whether the removal was successful or not, the server then releases any exclusiveaccess +Whether the removal was successful or not, the server then releases any exclusiveaccess 
-  lock on the maildrop and closes the connection +lock on the maildrop and closes the connection 
-   + 
-  Possible Responses:+__Possible Responses:__
   +OK   +OK
   -ERR some deleted messages not removed   -ERR some deleted messages not removed
-   + 
-  Examples:+__Examples:__
   C: QUIT   C: QUIT
   S: +OK dewey POP3 server signing off (maildrop empty)   S: +OK dewey POP3 server signing off (maildrop empty)
Line 467: Line 470:
   S: +OK dewey POP3 server signing off (2 messages left)   S: +OK dewey POP3 server signing off (2 messages left)
   ...   ...
 +  
 +==== The TOP Command ====
  
 +__Usage:__
   TOP msg n   TOP msg n
      
-  Arguments+__Arguments:__ 
-  a message-number (required) which may NOT refer to to a message marked as +a message-number (required) which may NOT refer to to a message marked as 
-  deleted, and a non-negative number of lines (required)+deleted, and a non-negative number of lines (required)
      
-  Restrictions+__Restrictions:__ 
-  may only be given in the TRANSACTION state+may only be given in the TRANSACTION state
      
-  Discussion+__Discussion:__ 
-  If the POP3 server issues a positive response, then the response given is multi-line. +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 +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 of the +line separating the headers from the body, and then the number of lines of the 
-  indicated message's body, being careful to byte-stuff the termination character (as +indicated message's body, being careful to byte-stuff the termination character (as 
-  with all multi-line responses). +with all multi-line responses). 
-   + 
-  Note that if the number of lines requested by the POP3 client is greater than than the +Note that if the number of lines requested by the POP3 client is greater than than the 
-  number of lines in the body, then the POP3 server sends the entire message.+number of lines in the body, then the POP3 server sends the entire message.
      
-  Possible Responses:+__Possible Responses:__
   +OK top of message follows   +OK top of message follows
   -ERR no such message   -ERR no such message
      
-  Examples:+__Examples:__
   C: TOP 1 10   C: TOP 1 10
   S: +OK   S: +OK
protocols/hf-pop.1534761671.txt.gz · Last modified: 2018/08/20 12:41 by root

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki