From 599cad16bda3bfff5a4f28c69c7155f837d3c83a Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sun, 10 Nov 2024 21:42:57 +0100 Subject: [PATCH] =?utf8?q?=F0=9F=9A=A7=20Add=20options=20for=20email=20sen?= =?utf8?q?der=20and=20receiver?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit These will replace the email senders and receivers that are configured in a chain, essentially removing them from the chain. --- src/main/java/net/pterodactylus/rhynodge/engine/Options.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/main/java/net/pterodactylus/rhynodge/engine/Options.java b/src/main/java/net/pterodactylus/rhynodge/engine/Options.java index 2803a83..3a08a99 100644 --- a/src/main/java/net/pterodactylus/rhynodge/engine/Options.java +++ b/src/main/java/net/pterodactylus/rhynodge/engine/Options.java @@ -20,6 +20,12 @@ public class Options { @Option(name = "ERROR_EMAIL_RECIPIENT", required = true) public final String errorEmailRecipient = null; + @Option(name = "EMAIL_SENDER", required = true) + public final String emailSender = null; + + @Option(name = "EMAIL_RECIPIENT", required = true) + public final String emailRecipient = null; + @Option(name = "STATE_DIRECTORY", defaultValue = "states") public final String stateDirectory = null; @@ -32,6 +38,8 @@ public class Options { .add("smtpHostname='" + smtpHostname + "'") .add("errorEmailSender='" + errorEmailSender + "'") .add("errorEmailRecipient='" + errorEmailRecipient + "'") + .add("emailSender='" + emailSender + "'") + .add("emailRecipient='" + emailRecipient + "'") .add("stateDirectory='" + stateDirectory + "'") .add("chainDirectory='" + chainDirectory + "'") .toString(); -- 2.7.4