protected SMTPClient newSMTPClient() throws IOException {
SMTPClient smtp = new SMTPClient();
smtp.connect("127.0.0.1", smtpListenerPort);
if (log.isDebugEnabled()) {
smtp.addProtocolCommandListener(new ProtocolCommandListener() {
@Override
public void protocolCommandSent(ProtocolCommandEvent event) {
log.debug("> " + event.getMessage().trim());
}