vpanel-stack/panel/ui/vmail/autoresponders-edit.html

53 lines
1.6 KiB
HTML
Raw Normal View History

2022-07-01 15:24:26 -07:00
<include href="header.html" />
<form action="{{@REALM}}" method="POST">
<fieldset>
<legend>Vacation responder for {{ @PARAMS.mbox }}@{{ @PARAMS.domain }}</legend>
<label for="subject">Subject <small>(email subject)</small></label>
<input id="subject" name="subject" type="text" value="{{ @autoresponder_array.subject }}" required>
<label for="body">Body <small>(body of email)</small></label>
<textarea id="body" name="body" required>{{ @autoresponder_array.body }}</textarea>
<label for="mode">Mode</label>
<select id="mode" name="mode">
<check if="{{ @autoresponder_array.mode=='Autoresponder' }}">
<true>
<option value="Vacation">Vacation</option>
<option value="Autoresponder" selected>Autoresponder</option>
</true>
<false>
<option value="Vacation" selected>Vacation</option>
<option value="Autoresponder">Autoresponder</option>
</false>
</check>
</select>
<label for="status">Status</label>
<select id="status" name="status">
<check if="{{ @autoresponder_array.status=='0' }}">
<true>
<option value="1">Enabled</option>
<option value="0" selected>Disabled</option>
</true>
<false>
<option value="1" selected>Enabled</option>
<option value="0">Disabled</option>
</false>
</check>
<input type="submit" value="Submit">
<button id="reset" type="reset" disabled>Reset</button>
</fieldset>
</form>
</form>
<p>
<b>Vacation</b> mode only sends an auto-reply to the first email from each incoming address.<br>
<b>Autoresponder</b> mode sends a response to every incoming email.
</p>
<include href="footer.html" />