diff options
author | Abyss777 <abyss@fox5.ru> | 2016-08-03 12:31:57 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2016-08-03 12:31:57 +0500 |
commit | 2498caf8e965c25e4c177a8a075f37b8937c8be3 (patch) | |
tree | 6a90d396d18be928f242221f050c5ff4915642f0 /src/org/traccar | |
parent | f7d58f2a13b23b36d861faa95e66a96fb4bd1dbb (diff) | |
download | traccar-server-2498caf8e965c25e4c177a8a075f37b8937c8be3.tar.gz traccar-server-2498caf8e965c25e4c177a8a075f37b8937c8be3.tar.bz2 traccar-server-2498caf8e965c25e4c177a8a075f37b8937c8be3.zip |
Fix mail session creating
Diffstat (limited to 'src/org/traccar')
-rw-r--r-- | src/org/traccar/notification/NotificationMail.java | 2 |
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); |