aboutsummaryrefslogtreecommitdiff
path: root/public/compose.html
blob: e35b0fd0147f132a1f78f1c58e4d6956249bf169 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{{template "head"}}

<h1>koushin</h1>

<p>
	<a href="/mailbox/INBOX">Back</a>
</p>

<h2>Compose new message</h2>

<form method="post" action="">
	<input type="hidden" name="in_reply_to" value="{{.Message.InReplyTo}}">

	<p>From:</p>
	<input type="email" name="from" value="{{.Message.From}}">
	<p>To:</p>
	<input type="email" name="to" multiple value="{{.Message.ToString}}">
	<p>Subject:</p>
	<input type="text" name="subject" value="{{.Message.Subject}}">
	<p>Body:</p>
	<textarea name="text" cols="80" rows="20">{{.Message.Text}}</textarea>
	<br><br>
	<input type="submit" value="Send">
</form>

{{template "foot"}}