alps/plugins/base/public/compose.html
Simon Ser d897eeee5c
Introduce base plugin
This plugin offers base IMAP/SMTP functionality.

References: https://todo.sr.ht/~sircmpwn/koushin/39
2019-12-16 12:52:44 +01:00

26 lines
629 B
HTML

{{template "head.html"}}
<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.html"}}