it compiles!
[org.ibex.mail.git] / src / org / ibex / mail / protocol / Incoming.java
index 42c5f9a..f02b657 100644 (file)
@@ -1,12 +1,14 @@
 package org.ibex.mail.protocol;
+import org.ibex.mail.*;
+import org.ibex.mail.store.*;
+import org.ibex.mail.target.*;
+import java.io.*;
 
 public class Incoming {
 
     protected void accept(Message m) throws IOException {
-        // currently, we write all inbound messages to the transcript
-        MessageStore.transcript.add(m);
-
-        // FIXME: figure out where the message goes next
+        MessageStore.transcript.add((Message.StoredMessage)m);     // currently, we write all inbound messages to the transcript
+        Target.root.accept(m);
     }
 
 }