From 5c904dfafa99ccddab63dfc7978086cead6aa4c0 Mon Sep 17 00:00:00 2001 From: Joe Hillenbrand Date: Thu, 15 Jan 2015 12:55:30 -0800 Subject: [PATCH] Fix email port setting The setting was mistyped as 'smpt' when it should have been 'smtp', but it is better to change it to 'email' to be consistent with the other settings. Original commit: elastic/x-pack-elasticsearch@0e610d89b5cebf017dcbb46d17a9bffbcab4983b --- .../elasticsearch/alerts/actions/SmtpAlertActionFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/elasticsearch/alerts/actions/SmtpAlertActionFactory.java b/src/main/java/org/elasticsearch/alerts/actions/SmtpAlertActionFactory.java index 689e2bd2f53..c52b14cc05e 100644 --- a/src/main/java/org/elasticsearch/alerts/actions/SmtpAlertActionFactory.java +++ b/src/main/java/org/elasticsearch/alerts/actions/SmtpAlertActionFactory.java @@ -26,7 +26,7 @@ import java.util.*; public class SmtpAlertActionFactory implements AlertActionFactory, ConfigurableComponentListener { - private static final String PORT_SETTING = "alerts.action.smpt.server.port"; + private static final String PORT_SETTING = "alerts.action.email.server.port"; private static final String SERVER_SETTING = "alerts.action.email.server.name"; private static final String FROM_SETTING = "alerts.action.email.from.address"; private static final String PASSWD_SETTING = "alerts.action.email.from.passwd";