* @param session SMTP session object
* @param argument the argument passed in with the command by the SMTP client
*/
protected SMTPResponse doDATA(SMTPSession session, String argument) {
try {
MimeMessageInputStreamSource mmiss = new MimeMessageInputStreamSource(mailServer.getId());
session.getState().put(SMTPConstants.DATA_MIMEMESSAGE_STREAMSOURCE, mmiss);
} catch (MessagingException e) {
session.getLogger().warn("Error creating mimemessagesource for incoming data",e);
return new SMTPResponse(SMTPRetCode.LOCAL_ERROR, "Unexpected error preparing to receive DATA.");
}