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
-
Field Summary
Fields inherited from class com.icegreen.greenmail.pop3.commands.Pop3Command
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(Pop3Connection conn, Pop3State state, String cmd) booleanisValidForState(Pop3State state)
-
Constructor Details
-
RsetCommand
public RsetCommand()
-
-
Method Details
-
isValidForState
- Specified by:
isValidForStatein classPop3Command
-
execute
- Specified by:
executein classPop3Command
-