Fix #8187 - silence errro url
[Pman.Core] / templates / mail / MessagePreview.html
index 6bd86f2..1dcd636 100644 (file)
@@ -1,14 +1,16 @@
-<!--
-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>
+<div class="undoreset" style="margin:10px">
+
+<code><B>From:</B> "{msg.from_name}" &lt;{msg.from_email}&gt;<br/>
+<B>Subject:</B> {msg.subject}<br/>
+<B>To:</B> {msg.rcpts}<br/>
+</code>
+{if:!showHtml}
+<br>
+<code>{msg.plaintext:b}</code>
+{else:}
+<br/>
+{msg.bodytext:h}
+{end:}
+</div>