templates/mail/MessagePreview.html
authorEdward <edward@roojs.com>
Thu, 20 Feb 2014 05:31:40 +0000 (13:31 +0800)
committerEdward <edward@roojs.com>
Thu, 20 Feb 2014 05:31:40 +0000 (13:31 +0800)
templates/mail/MessagePreview.html

index 6bd86f2..757c105 100644 (file)
@@ -1,14 +1,12 @@
-<!--
-To change this template, choose Tools | Templates
-and open the template in the editor.
--->
-<!DOCTYPE html>
-<html>
-    <head>
-        <title></title>
-        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-    </head>
-    <body>
-        <div>TODO write content</div>
-    </body>
-</html>
+<code>From : "{msg.from_name}" &lt;{msg.from_email}&gt;</code>
+<br/>
+<code>Subject : {msg.subject}</code>
+<br/>
+{if:!showHtml}
+<br>
+<code>{msg.plaintext:b}</code>
+{else:}
+<br/>
+{msg.bodytext:h}
+{end:}
+