massive robustness overhaul
[org.ibex.mail.git] / src / org / ibex / mail / target / Transcript.java
index dbc1c91..3000b0d 100644 (file)
@@ -39,7 +39,7 @@ public class Transcript extends Target {
             File target = new File(today.getPath() + File.separatorChar + time + ".txt");
             OutputStream os = new FileOutputStream(target);
             try {
-                message.dump(new Stream(os));
+                message.getStream().transcribe(new Stream(os));
                 os.flush();
             } finally { os.close(); }
         } catch (IOException e) { throw new MailException.IOException(e); }