]> jaekl.net Git - cfb.git/commitdiff
Swap MimeType and Content to their correct positions when invoking MimePart
authorChris Jaekl <cejaekl@yahoo.com>
Sat, 12 Dec 2015 14:46:30 +0000 (23:46 +0900)
committerChris Jaekl <cejaekl@yahoo.com>
Sat, 12 Dec 2015 14:46:30 +0000 (23:46 +0900)
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();
                }