<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">

<p>
    Check the basic mail functionality by entering your email address here and clicking the button.
    You should then receive a test email from "{mailTestSenderAddress}".
</p>

<p>
    If no email is received, your setup might be broken. Check the following:
</p>
<ul>
    <li>
        If <code>$GLOBALS['TYPO3_CONF_VARS']['MAIL']['transport']</code> is set to mail or sendmail, TYPO3 tries to use
        the operating systems' sendmail application. There might be no such program installed.
    </li>
    <li>
        If <code>$GLOBALS['TYPO3_CONF_VARS']['MAIL']['transport']</code> is set to smtp, check if the data given in
        <code>$GLOBALS['TYPO3_CONF_VARS']['MAIL']['transport_smtp_*']</code> is valid. Wrong data here results in faulty
        requests to the mail server. You can find the resulting messages in the mail server log.
    </li>
</ul>

<p>
    Not receiving the test email could also be a consequence of it being intercepted by a spam filter or due to the
    sending domain's email security settings, such as SPF record, which may prevent successful delivery.
</p>

<div class="t3js-module-content" data-mail-test-token="{mailTestToken}">
    <div class="t3js-mailTest-output"></div>

    <f:if condition="{isSendPossible}">
        <form id="t3js-mailTest-form" spellcheck="false">
            <div class="form-group">
                <label class="form-label" for="t3-install-checkmail">Email address:</label>
                <input
                    id="t3-install-checkmail"
                    type="email"
                    class="t3-install-form-input-text form-control t3js-mailTest-email"
                    required
                />
            </div>
        </form>
    </f:if>
</div>
</html>
