aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/notificators
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-03-16 09:55:19 -0700
committerAnton Tananaev <anton@traccar.org>2023-03-16 09:55:19 -0700
commitd4816aae87600334fe798e8b50b9f11df6f0b293 (patch)
tree1882a5335a653a63136b795df6661d988d33d3e7 /src/main/java/org/traccar/notificators
parent5c0962c257d51bef081d25405c972dd54035a0b2 (diff)
downloadtrackermap-server-d4816aae87600334fe798e8b50b9f11df6f0b293.tar.gz
trackermap-server-d4816aae87600334fe798e8b50b9f11df6f0b293.tar.bz2
trackermap-server-d4816aae87600334fe798e8b50b9f11df6f0b293.zip
Option for system only emails
Diffstat (limited to 'src/main/java/org/traccar/notificators')
-rw-r--r--src/main/java/org/traccar/notificators/NotificatorMail.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/notificators/NotificatorMail.java b/src/main/java/org/traccar/notificators/NotificatorMail.java
index 7f755f170..8818a5a75 100644
--- a/src/main/java/org/traccar/notificators/NotificatorMail.java
+++ b/src/main/java/org/traccar/notificators/NotificatorMail.java
@@ -44,7 +44,7 @@ public class NotificatorMail implements Notificator {
public void send(Notification notification, User user, Event event, Position position) throws MessageException {
try {
var fullMessage = notificationFormatter.formatMessage(user, event, position, "full");
- mailManager.sendMessage(user, fullMessage.getSubject(), fullMessage.getBody());
+ mailManager.sendMessage(user, false, fullMessage.getSubject(), fullMessage.getBody());
} catch (MessagingException e) {
throw new MessageException(e);
}