1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2026-01-27 05:25:58 +00:00

Add a controller to view list mailbox contents, view individual

messages.
This commit is contained in:
James Hillyerd
2012-10-10 13:46:03 -07:00
parent 4bcb7391c8
commit 3fe4c937cd
5 changed files with 163 additions and 3 deletions

View File

@@ -0,0 +1,18 @@
{{template "header.html" .}}
<h1>{{.message.Subject}}</h1>
<table>
<tr>
<th>From:</th>
<td>{{.message.From}}</td>
</tr>
<tr>
<th>Date:</th>
<td>{{.message.Date}}</td>
</tr>
<table>
<pre>{{.body}}</pre>
{{template "footer.html" .}}