FileDocCategorySizeDatePackage
ExpnCmdHandler.javaAPI DocApache James 2.3.11987Fri Jan 12 12:56:26 GMT 2007org.apache.james.smtpserver

ExpnCmdHandler

public class ExpnCmdHandler extends Object implements CommandHandler
Handles EXPN command

Fields Summary
private static final String
COMMAND_NAME
The name of the command handled by the command handler
Constructors Summary
Methods Summary
public voidonCommand(SMTPSession session)
Handler method called upon receipt of a EXPN command. This method informs the client that the command is not implemented.

see
org.apache.james.smtpserver.CommandHandler#onCommand(SMTPSession)


                               
        
        String responseString = "502 "+DSNStatus.getStatus(DSNStatus.PERMANENT,DSNStatus.SYSTEM_NOT_CAPABLE)+" EXPN is not supported";
        session.writeResponse(responseString);