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

VrfyCmdHandler

public class VrfyCmdHandler extends Object implements CommandHandler
Command handler for handling VRFY command

Fields Summary
private final String
COMMAND_NAME
Constructors Summary
Methods Summary
public voidonCommand(SMTPSession session)
Handler method called upon receipt of a VRFY 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)+" VRFY is not supported";
        session.writeResponse(responseString);