From: Chris Jaekl Date: Sat, 12 Dec 2015 14:46:30 +0000 (+0900) Subject: Swap MimeType and Content to their correct positions when invoking MimePart X-Git-Url: https://jaekl.net/gitweb/?a=commitdiff_plain;h=6d56e7d489a96bed67c7fe7fc37fdb6da3a54dd3;p=cfb.git Swap MimeType and Content to their correct positions when invoking MimePart --- 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(); }