#set($subject = "$device.name: has entered geofence") <!DOCTYPE html> <html> <body> Device: $device.name<br> Has entered geofence: $geofence.name<br> Time: $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.serverTime, $locale, $timezone)<br> Point: <a href="$webUrl?eventId=$event.id">#{if}($position.address)$position.address#{else}$position.latitude°, $position.longitude°#{end}</a><br> </body> </html>