aboutsummaryrefslogtreecommitdiff
path: root/templates/full/textMessage.vm
diff options
context:
space:
mode:
Diffstat (limited to 'templates/full/textMessage.vm')
-rw-r--r--templates/full/textMessage.vm9
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/full/textMessage.vm b/templates/full/textMessage.vm
new file mode 100644
index 000000000..174173c85
--- /dev/null
+++ b/templates/full/textMessage.vm
@@ -0,0 +1,9 @@
+#set($subject = "$device.name: text message received")
+<!DOCTYPE html>
+<html>
+<body>
+Device: $device.name<br>
+Message: $event.getString("message")<br>
+Time: $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.serverTime, $locale, $timezone)<br>
+</body>
+</html>