{% extends 'core/base.html' %} {% block title %}SMTP | Killian{% endblock %} {% block content %}

Email / SMTP

Configure outbound email for user invitations and Killian notifications.

{% if smtp_ready %} Configured {% else %} Configuration incomplete {% endif %}

SMTP configuration

Only Killian Admins can modify these settings. The SMTP password is encrypted with the Killian master key and is never returned to the browser.

{% csrf_token %} {% for field in settings_form %}
{{ field }} {% if field.name == 'password' and smtp_config.password_configured %}
A password is currently stored. Leave this field blank to keep the existing encrypted password.
{% elif field.help_text %}
{{ field.help_text }}
{% endif %} {% for error in field.errors %}
{{ error }}
{% endfor %}
{% endfor %} {% for error in settings_form.non_field_errors %}
{{ error }}
{% endfor %}

Current security state

The password itself is intentionally never displayed.

{{ smtp_config.host|default:'Not configured' }} {{ smtp_config.port }} {{ smtp_config.username|default:'Not configured' }} {% if smtp_config.password_configured %}Configured (encrypted){% else %}Not configured{% endif %}
{{ smtp_config.get_security_display }} {% if smtp_config.from_name %}{{ smtp_config.from_name }} <{{ smtp_config.from_email|default:'not configured' }}>{% else %}{{ smtp_config.from_email|default:'Not configured' }}{% endif %} {{ smtp_config.base_url|default:'Automatic from request' }} {{ smtp_config.timeout }} seconds

Send test email

Use this after saving to verify connectivity, authentication, encryption, relay permissions, and the sender address.

{% csrf_token %} {% for field in test_form %}
{{ field }} {% if field.help_text %}
{{ field.help_text }}
{% endif %} {% for error in field.errors %}
{{ error }}
{% endfor %}
{% endfor %}
{% endblock %}