Swap MimeType and Content to their correct positions when invoking MimePart
[cfb.git] / prod / net / jaekl / cfb / analyze / Notifier.java
index fbbaabc087bcf78cd24c6e26fc84451b8e7b2a1c..bf92fc107368607e4a1cccfc07b3045051fe2684 100644 (file)
@@ -56,7 +56,7 @@ public class Notifier {
                        report.write(mailWriter);
                        mailWriter.flush();
 
-                       MimePart part = new MimePart(sw.toString(), TEXT_HTML);
+                       MimePart part = new MimePart(TEXT_HTML, sw.toString());
                        sendMail.addPart(part);
                        sendMail.send();
                }