aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-08-03 12:31:57 +0500
committerAbyss777 <abyss@fox5.ru>2016-08-03 12:31:57 +0500
commit2498caf8e965c25e4c177a8a075f37b8937c8be3 (patch)
tree6a90d396d18be928f242221f050c5ff4915642f0 /src/org/traccar
parentf7d58f2a13b23b36d861faa95e66a96fb4bd1dbb (diff)
downloadtrackermap-server-2498caf8e965c25e4c177a8a075f37b8937c8be3.tar.gz
trackermap-server-2498caf8e965c25e4c177a8a075f37b8937c8be3.tar.bz2
trackermap-server-2498caf8e965c25e4c177a8a075f37b8937c8be3.zip
Fix mail session creating
Diffstat (limited to 'src/org/traccar')
-rw-r--r--src/org/traccar/notification/NotificationMail.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/notification/NotificationMail.java b/src/org/traccar/notification/NotificationMail.java
index bc7f6d4da..a0b80d2ab 100644
--- a/src/org/traccar/notification/NotificationMail.java
+++ b/src/org/traccar/notification/NotificationMail.java
@@ -112,7 +112,7 @@ public final class NotificationMail {
return;
}
}
- mailSession = Session.getDefaultInstance(mailServerProperties, null);
+ mailSession = Session.getInstance(mailServerProperties, null);
mailMessage = new MimeMessage(mailSession);