vpanel-stack/panel/ui/vmail/forwards-add.html
Matthew Saunders Brown fd94a4e3c4 initial commit
2022-07-01 15:24:26 -07:00

37 lines
1.2 KiB
HTML

<include href="header.html" />
<form action="{{@REALM}}" method="POST">
<fieldset>
<legend>Add Forwarding for {{ @PARAMS.mbox }}@{{ @PARAMS.domain }}</legend>
<label for="forward">Forwards To <small>(full email address)</small></label>
<input id="forward" name="forward" type="text" value="{{ @forward_array.forward }}" required>
<label for="save_local">Local Copy</label>
<select id="save_local" name="save_local">
<check if="{{ @forward_array.save_local=='1' }}">
<true>
<option value="1" selected>Keep</option>
<option value="0">Discard</option>
</true>
<false>
<option value="1">Keep</option>
<option value="0" selected>Discard</option>
</false>
</check>
</select>
<input type="submit" value="Submit">
<button id="reset" type="reset" disabled>Reset</button>
</fieldset>
</form>
<p>
<b>Forwards To</b> must be a valid email address.<br>
<b>Local Copy</b> can be set to <em>Keep</em> to Forward the email and also keep a copy in the inbox for {{ @PARAMS.mbox }}@{{ @PARAMS.domain }}. <em>Discard</em> will forward all incoming emails and will not keep copies in the {{ @PARAMS.mbox }}@{{ @PARAMS.domain }} inbox.
</p>
<include href="footer.html" />