aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/config
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-07-26 17:12:51 -0700
committerAnton Tananaev <anton@traccar.org>2022-07-26 17:12:51 -0700
commit8f129e2a70abbea66f33213c84b7e63f9e96035a (patch)
tree1acf2d3736fb3800e4b9f325b436f22c7f9ea3b3 /src/main/java/org/traccar/config
parentf5033ce11b823a4fce080211368b8c6473d81e7b (diff)
downloadtrackermap-server-8f129e2a70abbea66f33213c84b7e63f9e96035a.tar.gz
trackermap-server-8f129e2a70abbea66f33213c84b7e63f9e96035a.tar.bz2
trackermap-server-8f129e2a70abbea66f33213c84b7e63f9e96035a.zip
Testing mail manager
Diffstat (limited to 'src/main/java/org/traccar/config')
-rw-r--r--src/main/java/org/traccar/config/Keys.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/config/Keys.java b/src/main/java/org/traccar/config/Keys.java
index 2190f82f7..e97e104a1 100644
--- a/src/main/java/org/traccar/config/Keys.java
+++ b/src/main/java/org/traccar/config/Keys.java
@@ -801,6 +801,13 @@ public final class Keys {
"templates");
/**
+ * Log emails instead of sending them via SMTP. Intended for testing purposes only.
+ */
+ public static final ConfigKey<Boolean> MAIL_DEBUG = new BooleanConfigKey(
+ "mail.debug",
+ List.of(KeyType.CONFIG));
+
+ /**
* Force SMTP settings from the config file and ignore user attributes.
*/
public static final ConfigKey<Boolean> MAIL_SMTP_IGNORE_USER_CONFIG = new BooleanConfigKey(