[Web] Allow to specify transport test rcpt

This commit is contained in:
andryyy
2021-03-13 12:37:24 +01:00
parent c79aae2b1e
commit b3e3ab2e61
5 changed files with 18 additions and 4 deletions

View File

@@ -222,6 +222,13 @@ if (!isset($_SESSION['mailcow_cc_role'])) {
<input type="text" class="form-control" name="mail_from" placeholder="relay@example.org">
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2" for="mail_rcpt"><?=$lang['admin']['relay_rcpt'];?></label>
<div class="col-sm-10">
<input type="text" class="form-control" name="mail_rcpt" placeholder="null@hosted.mailcow.de" value="null@hosted.mailcow.de">
<p class="help-block"><?=$lang['admin']['transport_test_rcpt_info'];?></p>
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<button class="btn btn-default" id="test_transport" href="#"><?=$lang['admin']['relay_run'];?></button>