diff options
author | Abyss777 <abyss@fox5.ru> | 2017-12-15 15:01:03 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2017-12-15 15:01:03 +0500 |
commit | f8a481a3a4da75139a9b68beef83c3f0528b4572 (patch) | |
tree | 430d6553ca2e55418bcea8e7cb2615203f96e222 /src/org | |
parent | 5debe74dd68df32e86478a2e54e6f5efdddbf236 (diff) | |
download | traccar-server-f8a481a3a4da75139a9b68beef83c3f0528b4572.tar.gz traccar-server-f8a481a3a4da75139a9b68beef83c3f0528b4572.tar.bz2 traccar-server-f8a481a3a4da75139a9b68beef83c3f0528b4572.zip |
Put mail properties as string
Diffstat (limited to 'src/org')
-rw-r--r-- | src/org/traccar/notification/NotificationMail.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/org/traccar/notification/NotificationMail.java b/src/org/traccar/notification/NotificationMail.java index 1631a4c3a..6c81ecc79 100644 --- a/src/org/traccar/notification/NotificationMail.java +++ b/src/org/traccar/notification/NotificationMail.java @@ -47,16 +47,16 @@ public final class NotificationMail { Boolean starttlsEnable = provider.getBoolean("mail.smtp.starttls.enable"); if (starttlsEnable != null) { - properties.put("mail.smtp.starttls.enable", starttlsEnable); + properties.put("mail.smtp.starttls.enable", String.valueOf(starttlsEnable)); } Boolean starttlsRequired = provider.getBoolean("mail.smtp.starttls.required"); if (starttlsRequired != null) { - properties.put("mail.smtp.starttls.required", starttlsRequired); + properties.put("mail.smtp.starttls.required", String.valueOf(starttlsRequired)); } Boolean sslEnable = provider.getBoolean("mail.smtp.ssl.enable"); if (sslEnable != null) { - properties.put("mail.smtp.ssl.enable", sslEnable); + properties.put("mail.smtp.ssl.enable", String.valueOf(sslEnable)); } String sslTrust = provider.getString("mail.smtp.ssl.trust"); if (sslTrust != null) { |