<include href="header.html" />


<form action="{{@REALM}}" method="POST">
<fieldset>
  <legend>{{ @PARAMS.mbox }}@{{ @PARAMS.domain }} Forwarding</legend>

  <label for="forward">Forwards To <small>(full email address)</small></label>
  <input id="forward" name="forward" type="text" value="{{ @forward_array.forward_to  }}" 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" />