MailConfigChecker/Application/views/admin/tpl/mailTester.tpl

71 regels
3.0 KiB
Smarty

2023-12-11 10:38:59 +01:00
[{include file="headitem.tpl" title="d3mxd3cleartmp"|oxmultilangassign}]
2023-12-12 11:28:18 +01:00
[{include file="inc_bootstrap.tpl"}]
2023-12-11 10:38:59 +01:00
[{if $readonly}]
[{assign var="readonly" value="readonly disabled"}]
[{else}]
[{assign var="readonly" value=""}]
[{/if}]
<form name="transfer" id="transfer" action="[{$oViewConf->getSelfLink()}]" method="post">
[{$oViewConf->getHiddenSid()}]
<input type="hidden" name="oxid" value="[{$oxid}]">
<input type="hidden" name="oxidCopy" value="[{$oxid}]">
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
</form>
2023-12-12 11:28:18 +01:00
[{if $success}]
<div class="alert alert-success">[{oxmultilang ident="D3_MAILCHECKER_TESTMAIL_SUCCESS"}]</div>
[{/if}]
<div class="col-12 col-md-10 col-lg-8 mb-4">
[{oxmultilang ident="D3_MAILCHECKER_TESTMAIL_DESC"}]
</div>
2023-12-13 14:12:50 +01:00
<h5>[{oxmultilang ident="D3_MAILCHECKER_SPFRESULT_LINKS"}]</h5>
<ul>
<li>
<a href="https://mxtoolbox.com/EmailHeaders.aspx">
[{oxmultilang ident="D3_MAILCHECKER_TESTMAIL_HEADERANALYSIS"}]
</a>
</li>
</ul>
2023-12-12 11:28:18 +01:00
<div class="row">
<div class="col-12 col-md-6 col-lg-4 mb-4">
<form name="myedit" id="myedit" action="[{$oViewConf->getSelfLink()}]" method="post">
[{$oViewConf->getHiddenSid()}]
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
<input type="hidden" name="fnc" value="sendMail">
<div>
<label class="col-4 form-label" for="sender">[{oxmultilang ident="D3_MAILCHECKER_SMTPCHECK_SENDER"}]</label>
<select name="from" class="col-7 editinput" id="sender">
[{foreach from=$oView->getMailAddressList() item="address"}]
<option value="[{$address}]" [{if $sender == $address}]selected[{/if}]>[{$address}]</option>
[{/foreach}]
</select>
</div>
<div>
<label class="col-4 form-label" for="recipient">[{oxmultilang ident="D3_MAILCHECKER_SMTPCHECK_RECIPIENT"}]</label>
<input name="to" type="text" class="col-7 editinput" size="35" maxlength="255" id="recipient" value="[{$recipient}]">
</div>
<div>
<label class="col-4 form-label" for="subject">[{oxmultilang ident="D3_MAILCHECKER_TESTMAIL_SUBJECT"}]</label>
<input type="text" class="col-7 editinput" id="subject" maxlength="255" name="subject" value="[{$subject}]">
</div>
<div>
<label class="col-4 form-label" for="body">[{oxmultilang ident="D3_MAILCHECKER_TESTMAIL_BODY"}]</label>
<textarea name="body" class="col-7 editinput" id="body" maxlength="255" style="height: 100px">[{strip}]
[{$body}]
[{/strip}]</textarea>
</div>
<div>
<button type="submit" class="btn btn-primary offset-4">[{oxmultilang ident="D3_MAILCHECKER_TESTMAIL_SENDMAIL"}]</button>
</div>
</form>
</div>
</div>
2023-12-11 10:38:59 +01:00
[{include file="bottomnaviitem.tpl"}]
[{include file="bottomitem.tpl"}]