almost working
[org.ibex.mail.git] / src / org / ibex / mail / protocol / Incoming.java
index f02b657..d46a75e 100644 (file)
@@ -5,10 +5,8 @@ import org.ibex.mail.target.*;
 import java.io.*;
 
 public class Incoming {
-
-    protected void accept(Message m) throws IOException {
-        MessageStore.transcript.add((Message.StoredMessage)m);     // currently, we write all inbound messages to the transcript
+    protected void accept(Message m) throws IOException, MailException {
+        MessageStore.transcript.add(m);     // currently, we write all inbound messages to the transcript
         Target.root.accept(m);
     }
-
 }