2019-12-02 18:55:52 +00:00
|
|
|
{{template "head"}}
|
|
|
|
|
|
|
|
<h1>koushin</h1>
|
|
|
|
|
|
|
|
<a href="/mailbox/{{.Mailbox.Name}}">Back</a>
|
|
|
|
|
|
|
|
<h2>{{.Message.Envelope.Subject}}</h2>
|
|
|
|
|
2019-12-03 10:11:49 +00:00
|
|
|
{{define "message-part"}}
|
|
|
|
{{.MIMEType}}/{{.MIMESubType}}
|
|
|
|
{{if gt (len .Parts) 0}}
|
|
|
|
<ul>
|
|
|
|
{{range .Parts}}
|
|
|
|
<li>{{template "message-part" .}}</li>
|
|
|
|
{{end}}
|
|
|
|
</ul>
|
|
|
|
{{end}}
|
|
|
|
{{end}}
|
|
|
|
|
|
|
|
{{template "message-part" .Message.BodyStructure}}
|
|
|
|
|
|
|
|
{{if .Body}}
|
|
|
|
<pre>{{.Body}}</pre>
|
|
|
|
{{end}}
|
2019-12-02 18:55:52 +00:00
|
|
|
|
|
|
|
{{template "foot"}}
|