total overhaul; were using MIME and MIME.Part now
[org.ibex.mail.git] / src / org / ibex / mail / protocol / NNTP.java
index ef5fc0c..6f0f6b9 100644 (file)
@@ -104,7 +104,7 @@ public class NNTP {
             else                   a = api.article(Integer.parseInt(s), head, body);
             int code = (head && body) ? 220 : head ? 221 : body ? 222 : 223;
             conn.println(code + " " + a.num + " <" + a.messageid + "> get ready for some stuff...");
-            if (head) conn.println(a.message.allHeaders);
+            if (head) conn.println(a.message.headers.raw);
             if (head && body) conn.println();
             if (body) conn.println(a.message.body);
             conn.println(".");