From 6d56e7d489a96bed67c7fe7fc37fdb6da3a54dd3 Mon Sep 17 00:00:00 2001 From: Chris Jaekl Date: Sat, 12 Dec 2015 23:46:30 +0900 Subject: [PATCH] Swap MimeType and Content to their correct positions when invoking MimePart --- prod/net/jaekl/cfb/analyze/Notifier.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prod/net/jaekl/cfb/analyze/Notifier.java b/prod/net/jaekl/cfb/analyze/Notifier.java index fbbaabc..bf92fc1 100644 --- a/prod/net/jaekl/cfb/analyze/Notifier.java +++ b/prod/net/jaekl/cfb/analyze/Notifier.java @@ -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(); } -- 2.39.2