{% extends "layouts/panel.html" %} {% load i18n %} {% load ravix_ui %} {% block title %}{% trans "Email" %}{% endblock %} {% block page_title %}{% trans "Email" %}{% endblock %} {% block content_class %}content-narrow{% endblock %} {% block content %}

{% trans "Email" %}

{% trans "How the site sends email (password resets, notifications). Use your hosting’s mailbox or an outside service." %}

{% csrf_token %} {% include "partials/_form_errors.html" %}

{% trans "SMTP server" %}

{% include "partials/_field.html" with field=form.enabled %}
{% include "partials/_field.html" with field=form.host %}
{% include "partials/_field.html" with field=form.port %}
{% include "partials/_field.html" with field=form.security %}
{% include "partials/_field.html" with field=form.from_email %}
{% include "partials/_field.html" with field=form.username %}
{% include "partials/_field.html" with field=form.password %}{% if has_password %}

{% trans "A password is saved (stored encrypted)." %}

{% include "partials/_field.html" with field=form.clear_password %}{% endif %}
{% if not dedicated_key %}

{% trans "The password is encrypted with a key derived from the site’s secret key." %}

{% endif %}

{% trans "Test" %}

{% if test_email_to %}
{% csrf_token %}

{% blocktrans trimmed with to=test_email_to %}Save first, then send a test message to {{ to }}. Errors are shown here, not hidden.{% endblocktrans %}

{% else %}

{% trans "Your account has no email address; add one in your profile to send a test." %}

{% endif %}

{% blocktrans trimmed with n=queued %}Messages waiting to be retried: {{ n }}.{% endblocktrans %}

{% endblock %}