diff options
author | Anton Tananaev <anton@traccar.org> | 2023-03-16 09:55:19 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-03-16 09:55:19 -0700 |
commit | d4816aae87600334fe798e8b50b9f11df6f0b293 (patch) | |
tree | 1882a5335a653a63136b795df6661d988d33d3e7 /src/main/java/org/traccar/reports | |
parent | 5c0962c257d51bef081d25405c972dd54035a0b2 (diff) | |
download | trackermap-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/reports')
-rw-r--r-- | src/main/java/org/traccar/reports/common/ReportMailer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/reports/common/ReportMailer.java b/src/main/java/org/traccar/reports/common/ReportMailer.java index 221b35ae1..3ce41934f 100644 --- a/src/main/java/org/traccar/reports/common/ReportMailer.java +++ b/src/main/java/org/traccar/reports/common/ReportMailer.java @@ -55,7 +55,7 @@ public class ReportMailer { stream.toByteArray(), "application/octet-stream"))); User user = permissionsService.getUser(userId); - mailManager.sendMessage(user, "Report", "The report is in the attachment.", attachment); + mailManager.sendMessage(user, false, "Report", "The report is in the attachment.", attachment); } catch (StorageException | IOException | MessagingException e) { LOGGER.warn("Email report failed", e); } |