add an extra flush in SMTP
[org.ibex.mail.git] / 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; }