aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/notification/NotificationMail.java
diff options
context:
space:
mode:
authorIvan Martinez <ivanfmartinez@users.noreply.github.com>2018-06-01 07:34:35 -0300
committerIvan Martinez <ivanfmartinez@users.noreply.github.com>2018-06-01 07:34:35 -0300
commit50a80d68516890aa3ec5c2826f929474927def30 (patch)
treed0c0a2885fa9fcffa94ed600cda45090b81eaaaf /src/org/traccar/notification/NotificationMail.java
parent25eb3d86b97f8a0eb806f3e0c572d80c495257d6 (diff)
downloadtrackermap-server-50a80d68516890aa3ec5c2826f929474927def30.tar.gz
trackermap-server-50a80d68516890aa3ec5c2826f929474927def30.tar.bz2
trackermap-server-50a80d68516890aa3ec5c2826f929474927def30.zip
generic template names
Diffstat (limited to 'src/org/traccar/notification/NotificationMail.java')
-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 3a2a19337..fb89bf5bd 100644
--- a/src/org/traccar/notification/NotificationMail.java
+++ b/src/org/traccar/notification/NotificationMail.java
@@ -108,7 +108,7 @@ public final class NotificationMail extends Notificator {
}
message.addRecipient(Message.RecipientType.TO, new InternetAddress(user.getEmail()));
- MailMessage mailMessage = NotificationFormatter.formatMailMessage(userId, event, position);
+ MailMessage mailMessage = NotificationFormatter.formatFullMessage(userId, event, position);
message.setSubject(mailMessage.getSubject());
message.setSentDate(new Date());
message.setContent(mailMessage.getBody(), "text/html; charset=utf-8");