From 7a62280f42b7430279b8fd1b5818ddf0e7530b2a Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Tue, 25 Aug 2015 21:48:27 +0200 Subject: [PATCH] Add error output twice, for now Later, fix with real HTML output or skip multipart for text-only mails. --- src/main/java/net/pterodactylus/rhynodge/engine/ReactionRunner.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/net/pterodactylus/rhynodge/engine/ReactionRunner.java b/src/main/java/net/pterodactylus/rhynodge/engine/ReactionRunner.java index dabc57f..ac04543 100644 --- a/src/main/java/net/pterodactylus/rhynodge/engine/ReactionRunner.java +++ b/src/main/java/net/pterodactylus/rhynodge/engine/ReactionRunner.java @@ -78,6 +78,7 @@ public class ReactionRunner implements Runnable { private Output createErrorOutput(Reaction reaction, State state) { DefaultOutput output = new DefaultOutput(String.format("Error while processing “%s!”", reaction.name())); output.addText("text/plain; charset=utf-8", createErrorEmailText(reaction, state)); + output.addText("text/html; charset=utf-8", createErrorEmailText(reaction, state)); return output; } -- 2.7.4