From 3ceb6421b4c91618b857b1c82d2ff692a5059c09 Mon Sep 17 00:00:00 2001 From: mguessan Date: Thu, 18 Feb 2010 09:21:43 +0000 Subject: [PATCH] SMTP: bug id 2953554, implement NOOP git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@948 3d1905a2-6b24-0410-a738-b14d5a86fcbd --- src/java/davmail/smtp/SmtpConnection.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/java/davmail/smtp/SmtpConnection.java b/src/java/davmail/smtp/SmtpConnection.java index ddab9fc6..646aba43 100644 --- a/src/java/davmail/smtp/SmtpConnection.java +++ b/src/java/davmail/smtp/SmtpConnection.java @@ -80,6 +80,8 @@ public class SmtpConnection extends AbstractConnection { } else if ("QUIT".equalsIgnoreCase(command)) { sendClient("221 Closing connection"); break; + } else if ("NOOP".equalsIgnoreCase(command)) { + sendClient("250 OK"); } else if ("EHLO".equalsIgnoreCase(command)) { sendClient("250-" + tokens.nextToken()); // inform server that AUTH is supported