* @param session SMTP session object
* @param argument the argument passed in with the command by the SMTP client
*/
@SuppressWarnings("unchecked")
protected SMTPResponse doDATA(SMTPSession session, String argument) {
MailEnvelopeImpl env = new MailEnvelopeImpl();
env.setRecipients(new ArrayList<MailAddress>((Collection)session.getState().get(SMTPSession.RCPT_LIST)));
env.setSender((MailAddress) session.getState().get(SMTPSession.SENDER));
session.getState().put(MAILENV, env);
session.pushLineHandler(lineHandler);
return new SMTPResponse(SMTPRetCode.DATA_READY, "Ok Send data ending with <CRLF>.<CRLF>");
}