Class RsetCommand
java.lang.Object
com.icegreen.greenmail.pop3.commands.Pop3Command
com.icegreen.greenmail.pop3.commands.RsetCommand
Handles the RSET command.
See http://www.ietf.org/rfc/rfc1939.txt:
Arguments: none
Restrictions:
May only be given in the TRANSACTION state.
Discussion:
If any messages have been marked as deleted by the POP3
server, they are unmarked. The POP3 server then replies
with a positive response.
Possible Responses:
+OK
Examples:
C: RSET
S: +OK maildrop has 2 messages (320 octets)
- Since:
- Dec 21, 2006
- Version:
- $Id: $
- Author:
- Marcel May
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(Pop3Connection conn, Pop3State state, String cmd) boolean
isValidForState
(Pop3State state)
-
Constructor Details
-
RsetCommand
public RsetCommand()
-
-
Method Details
-
isValidForState
- Specified by:
isValidForState
in classPop3Command
-
execute
- Specified by:
execute
in classPop3Command
-