71 lignes
3.1 KiB
Twig
71 lignes
3.1 KiB
Twig
{% include "headitem.html.twig" with {title: "d3mxd3cleartmp"|translate} %}
|
|
{% include "@d3mailconfigchecker/admin/inc/bootstrap.html.twig" %}
|
|
|
|
{% if readonly %}
|
|
{% set readonly = "readonly disabled" %}
|
|
{% else %}
|
|
{% set readonly = "" %}
|
|
{% endif %}
|
|
<form name="transfer" id="transfer" action="{{ oViewConf.getSelfLink()|raw }}" method="post">
|
|
{{ oViewConf.getHiddenSid()|raw }}
|
|
<input type="hidden" name="oxid" value="{{ oxid }}">
|
|
<input type="hidden" name="oxidCopy" value="{{ oxid }}">
|
|
<input type="hidden" name="cl" value="{{ oViewConf.getActiveClassName() }}">
|
|
</form>
|
|
|
|
{% if success %}
|
|
<div class="alert alert-success">{{ translate({ ident: "D3_MAILCHECKER_TESTMAIL_SUCCESS" }) }}</div>
|
|
{% endif %}
|
|
|
|
<div class="col-12 col-md-10 col-lg-8 mb-4">
|
|
{{ translate({ ident: "D3_MAILCHECKER_TESTMAIL_DESC" }) }}
|
|
</div>
|
|
|
|
<h5>{{ translate({ ident: "D3_MAILCHECKER_SPFRESULT_LINKS" }) }}</h5>
|
|
<ul>
|
|
<li>
|
|
<a href="https://mxtoolbox.com/EmailHeaders.aspx">
|
|
{{ translate({ ident: "D3_MAILCHECKER_TESTMAIL_HEADERANALYSIS" }) }}
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
|
|
<div class="row">
|
|
<div class="col-12 col-md-6 col-lg-4 mb-4">
|
|
<form name="myedit" id="myedit" action="{{ oViewConf.getSelfLink()|raw }}" method="post">
|
|
{{ oViewConf.getHiddenSid()|raw }}
|
|
<input type="hidden" name="cl" value="{{ oViewConf.getActiveClassName() }}">
|
|
<input type="hidden" name="fnc" value="sendMail">
|
|
|
|
<div>
|
|
<label class="col-4 form-label" for="sender">{{ translate({ ident: "D3_MAILCHECKER_SMTPCHECK_SENDER" }) }}</label>
|
|
<select name="from" class="col-7 editinput" id="sender">
|
|
{% for address in oView.getMailAddressList() %}
|
|
<option value="{{ address }}" {% if sender == address %}selected{% endif %}>{{ address }}</option>
|
|
{% endfor %}
|
|
</select>
|
|
</div>
|
|
<div>
|
|
<label class="col-4 form-label" for="recipient">{{ translate({ 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">{{ translate({ 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">{{ translate({ ident: "D3_MAILCHECKER_TESTMAIL_BODY" }) }}</label>
|
|
<textarea name="body" class="col-7 editinput" id="body" maxlength="255" style="height: 100px">{% apply spaceless %}
|
|
{{ body }}
|
|
{% endapply %}</textarea>
|
|
</div>
|
|
<div>
|
|
<button type="submit" class="btn btn-primary offset-4">{{ translate({ ident: "D3_MAILCHECKER_TESTMAIL_SENDMAIL" }) }}</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
{% include "bottomnaviitem.html.twig" %}
|
|
|
|
{% include "bottomitem.html.twig" %} |