aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/notification/NotificationMail.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-04-29 16:12:19 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-04-29 16:12:57 +1200
commit6c82282da3b35b2acf46f69655cd0d097058af24 (patch)
treea8c802590896ed7c49e374167a8a7212ef6bb06b /src/org/traccar/notification/NotificationMail.java
parent4f235bcac5b13733684fed8e0ef05968123f6e10 (diff)
downloadtrackermap-server-6c82282da3b35b2acf46f69655cd0d097058af24.tar.gz
trackermap-server-6c82282da3b35b2acf46f69655cd0d097058af24.tar.bz2
trackermap-server-6c82282da3b35b2acf46f69655cd0d097058af24.zip
Save more statistics info
Diffstat (limited to 'src/org/traccar/notification/NotificationMail.java')
-rw-r--r--src/org/traccar/notification/NotificationMail.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/org/traccar/notification/NotificationMail.java b/src/org/traccar/notification/NotificationMail.java
index c31a02b32..115b109e6 100644
--- a/src/org/traccar/notification/NotificationMail.java
+++ b/src/org/traccar/notification/NotificationMail.java
@@ -115,6 +115,7 @@ public final class NotificationMail {
Transport transport = session.getTransport();
try {
+ Context.getStatisticsManager().registerMail();
transport.connect(
properties.getProperty("mail.smtp.host"),
properties.getProperty("mail.smtp.username"),