<commit_before>
<h2 class="form-signin-heading"
        ng-show="identifier"
        translate>Edit SMTP server {{ identifier }}</h2>
<h2 class="form-signin-heading"
        ng-hide="identifier"
        translate>Create a new SMTP server {{ params.identifier }}</h2>

<form name="formSmtp" role="form" validate
      class="form-horizontal">

    <div class="form-group"
        ng-class="{'has-error': !params.identifier}">
        <label for="identifier" class="col-sm-3 control-label"
                translate>Identifier</label>
        <div class="col-sm-9">
            <input name="identifier" id="identifier" class="form-control"
                   ng-model="params.identifier" required
                   placeholder="mySmtpServer"
                   autofocus/>
            <p class="help-block" translate>This is the unique identifying name
                of the SMTP server definition.</p>
        </div>
    </div>
    <div class="form-group"
        ng-class="{'has-error': !params.server }">
        <label for="server" class="col-sm-3 control-label" translate>
            IP or FQDN</label>

        <div class="col-sm-9">
            <input name="server" class="form-control"
                   ng-model="params.server" required
                   placeholder="mail.example.com"/>
        </div>
    </div>
    <div class="form-group">
        <label for="port" class="col-sm-3 control-label" translate>
            Port</label>

        <div class="col-sm-9">
            <input name="port" class="form-control"
                   ng-model="params.port"
                   placeholder="25"/>
        </div>
    </div>
    <div class="form-group"
        ng-class="{'has-error': !params.sender}">
        <label for="sender" class="col-sm-3 control-label"
               translate>Sender Email</label>

        <div class="col-sm-9">
            <input name="sender" class="form-control"
                   ng-model="params.sender" required
                   placeholder="<EMAIL>"/>
            <p class="help-block" translate>This is the email address of the
                sender. Usually this should be an email address identifying
                your system.
            </p>
        </div>
    </div>

    <div class="form-group">
        <label for="username" class="col-sm-3 control-label" translate>
            Usernane</label>

        <div class="col-sm-9">
            <input name="binddn" class="form-control"
                   ng-model="params.username"
                   type="email"
                   placeholder="<EMAIL>"/>
            <p class="help-block" translate>
                If the SMTP server requires authentication you need to
                specify the user.
            </p>
        </div>
    </div>
    <div class="form-group">
        <label for="password" class="col-sm-3 control-label"<commit_msg>fix SMTP authentication<commit_after>
<h2 class="form-signin-heading"
        ng-show="identifier"
        translate>Edit SMTP server {{ identifier }}</h2>
<h2 class="form-signin-heading"
        ng-hide="identifier"
        translate>Create a new SMTP server {{ params.identifier }}</h2>

<form name="formSmtp" role="form" validate
      class="form-horizontal">

    <div class="form-group"
        ng-class="{'has-error': !params.identifier}">
        <label for="identifier" class="col-sm-3 control-label"
                translate>Identifier</label>
        <div class="col-sm-9">
            <input name="identifier" id="identifier" class="form-control"
                   ng-model="params.identifier" required
                   placeholder="mySmtpServer"
                   autofocus/>
            <p class="help-block" translate>This is the unique identifying name
                of the SMTP server definition.</p>
        </div>
    </div>
    <div class="form-group"
        ng-class="{'has-error': !params.server }">
        <label for="server" class="col-sm-3 control-label" translate>
            IP or FQDN</label>

        <div class="col-sm-9">
            <input name="server" class="form-control"
                   ng-model="params.server" required
                   placeholder="mail.example.com"/>
        </div>
    </div>
    <div class="form-group">
        <label for="port" class="col-sm-3 control-label" translate>
            Port</label>

        <div class="col-sm-9">
            <input name="port" class="form-control"
                   ng-model="params.port"
                   placeholder="25"/>
        </div>
    </div>
    <div class="form-group"
        ng-class="{'has-error': !params.sender}">
        <label for="sender" class="col-sm-3 control-label"
               translate>Sender Email</label>

        <div class="col-sm-9">
            <input name="sender" class="form-control"
                   ng-model="params.sender" required
                   placeholder="<EMAIL>"/>
            <p class="help-block" translate>This is the email address of the
                sender. Usually this should be an email address identifying
                your system.
            </p>
        </div>
    </div>

    <div class="form-group">
        <label for="username" class="col-sm-3 control-label" translate>
            Usernane</label>

        <div class="col-sm-9">
            <input name="binddn" class="form-control"
                   ng-model="params.username"
                   placeholder="<EMAIL>"/>
            <p class="help-block" translate>
                If the SMTP server requires authentication you need to
                specify the user.
            </p>
        </div>
    </div>
    <div class="form-group">
        <label for="password" class="col-sm-3 control-label"
{'fraction_non_alphanumeric': 0.14057564057564056, 'fraction_numerical': 0.005967005967005967, 'mean_word_length': 1.828287841191067, 'pattern_counts': {'":': 0, '<': 103, '<?xml version=': 0, '>': 101, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4626687', 'n_tokens_mistral': 1605, 'n_tokens_neox': 1557, 'n_words': 356}