add an extra flush in SMTP
authoradam <adam@megacz.com>
Sat, 30 Dec 2006 00:35:47 +0000 (00:35 +0000)
committeradam <adam@megacz.com>
Sat, 30 Dec 2006 00:35:47 +0000 (00:35 +0000)
darcs-hash:20061230003547-5007d-4c72be810674eeb08014b5ba32a09e404d09e9ce.gz

src/org/ibex/mail/protocol/SMTP.java

index 90fb2ec..b5ea75b 100644 (file)
@@ -126,6 +126,7 @@ public class SMTP {
                     } else {
                         conn.println("551 sorry, " + addr + " is not on this machine");
                     }
+                    conn.flush();
                 } else if (c.startsWith("DATA")) {
                     //if (from == null) { conn.println("503 MAIL FROM command must precede DATA"); continue; }
                     if (to == null || to.size()==0) { conn.println("503 RCPT TO command must precede DATA"); continue; }