com.icegreen.greenmail.smtp.commands
Class DataCommand

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

public class DataCommand
extends SmtpCommand

DATA command.

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


Constructor Summary
DataCommand()
           
 
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

DataCommand

public DataCommand()
Method Detail

execute

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