diff options
author | Abyss777 <abyss@fox5.ru> | 2018-06-26 14:15:24 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2018-06-26 14:15:24 +0500 |
commit | b70e46560359a181b0136fa1c6b0400615bfc904 (patch) | |
tree | 540dab6edd4f4178113d4e1fc1a614052bb1edfd /src/org/traccar/notification/NotificationMail.java | |
parent | 253f11afa0e31d97d332ca3269111eff36ee347b (diff) | |
download | trackermap-server-b70e46560359a181b0136fa1c6b0400615bfc904.tar.gz trackermap-server-b70e46560359a181b0136fa1c6b0400615bfc904.tar.bz2 trackermap-server-b70e46560359a181b0136fa1c6b0400615bfc904.zip |
Rename MailMessage to FullMessage
Diffstat (limited to 'src/org/traccar/notification/NotificationMail.java')
-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 76387c73b..808acca76 100644 --- a/src/org/traccar/notification/NotificationMail.java +++ b/src/org/traccar/notification/NotificationMail.java @@ -108,10 +108,10 @@ public final class NotificationMail extends Notificator { } message.addRecipient(Message.RecipientType.TO, new InternetAddress(user.getEmail())); - MailMessage mailMessage = NotificationFormatter.formatFullMessage(userId, event, position); - message.setSubject(mailMessage.getSubject()); + FullMessage fullMessage = NotificationFormatter.formatFullMessage(userId, event, position); + message.setSubject(fullMessage.getSubject()); message.setSentDate(new Date()); - message.setContent(mailMessage.getBody(), "text/html; charset=utf-8"); + message.setContent(fullMessage.getBody(), "text/html; charset=utf-8"); Transport transport = session.getTransport(); try { |