com.icegreen.greenmail.smtp.commands
Class HeloCommand

java.lang.Object
  extended by com.icegreen.greenmail.smtp.commands.SmtpCommand
      extended by com.icegreen.greenmail.smtp.commands.HeloCommand

public class HeloCommand
extends SmtpCommand

EHLO/HELO command.

TODO: What does HELO do if it's already been called before?

The spec is at http://asg.web.cmu.edu/rfc/rfc2821.html#sec-4.1.1.1 .


Constructor Summary
HeloCommand()
           
 
Method Summary
 void execute(SmtpConnection conn, SmtpState state, SmtpManager manager, String commandLine)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HeloCommand

public HeloCommand()
Method Detail

execute

public void execute(SmtpConnection conn,
                    SmtpState state,
                    SmtpManager manager,
                    String commandLine)
Specified by:
execute in class SmtpCommand