s/email/text/ in To & From fields

type="email" does not validate RFC 2822 address lists
This commit is contained in:
Drew DeVault 2020-11-19 12:40:39 -05:00
parent 797b426ec6
commit 61cdb93e48

View file

@ -14,7 +14,7 @@
<div class="headers no-js">
<label>From</label>
<input type="email" name="from" id="from" value="{{.Message.From}}" />
<input type="text" name="from" id="from" value="{{.Message.From}}" />
<label>To</label>
{{ $to := .Message.ToString }}