assertNull("no mail received by mail server", m_mailServer.getLastMail());
String ehlo1 = "abgsfe3rsf.de";
String ehlo2 = "james.apache.org";
smtpProtocol1.sendCommand("ehlo", ehlo1);
// this should give a 501 code cause the ehlo could not resolved
assertEquals("expected error: ehlo could not resolved", 501, smtpProtocol1.getReplyCode());
smtpProtocol1.sendCommand("ehlo", ehlo2);
// ehlo is resolvable. so this should give a 250 code