major simplifications to Iterator api
[org.ibex.mail.git] / src / org / ibex / mail / protocol / SMTP.java
index af62e21..35855f1 100644 (file)
@@ -217,7 +217,7 @@ public class SMTP {
                 }
             }
             synchronized(Outgoing.class) {
-                spool.add(m);
+                spool.insert(m, Mailbox.Flag.defaultFlags);
                 Outgoing.class.notifyAll();
             }
         }