{% extends "base.html" %} {% from "_integration_extras.html" import integration_record, claude_handoff with context %} {% block title %}Email settings · NEXXVU{% endblock %} {% block head %}{# C486: while the Portal restarts after an approval (or reads the certificate) the page may have been served by the stopping process, without its stylesheet and script; this reload needs neither. #} {% if admin and mail and mail.mode == 'smtp' and mail.server and not mail.server.approved and mail.server.destination.pending %}{% set dp = mail.server.destination %} {% if dp.pending.status != 'requested' %}{% elif not dp.observed %}{% endif %}{% endif %}{% endblock %} {% block content %}

Settings

Email

How this Portal sends e-mail: invitations, sign-in codes and security notices. Invitation links work without e-mail; e-mail is used only after a check has passed.

All settings
{% include "_settings_navigation.html" %}
{% if notice %}
{{ notice }}
{% endif %} {% if error %}{% endif %} {% if not admin %}

Only Portal administrators manage e-mail settings.

{% else %}{% set m = mail %}

Status

{% if m.mode == 'smtp' and m.server %}{% set d = m.server.destination %}

Mail server address

{{ m.server_name }} · {{ m.server.address }}:{{ m.server.port }}

{% if m.server.approved %}

Approved This Portal may connect to this address.

{% elif d.pending and d.pending.status == 'requested' and d.observed %}

Step 2 of 3 Approve this address so the Portal may connect to it. Then run the check below.

Server certificate (SHA-256)
{{ d.fingerprint }}

The password you sign in to this Portal with, not the mail server's password. If your browser filled this field, clear it and type the password.

{% elif d.pending and d.pending.status == 'requested' %}

NEXXVU is reading the mail server's certificate; this page refreshes by itself.

{% elif d.pending %}

Approved. The Portal applies the address and restarts once; this page continues by itself.

{% else %}{% if d.latest and d.latest.status == 'failed' %}

The mail server could not be reached: {{ d.latest.failure }}. Check the name, port and security type, then save again.

{% endif %}{% endif %}
{% endif %}

Mail setup

{% if m.mode == 'smtp' or m.server %}

Your mail server

The mail server's (mailbox) password. It is write-only: stored in the Portal's protected credential store, never shown or logged.

{% endif %} {% if m.mode != 'off' %}

Check e-mail

{% if m.mode == 'smtp' and m.server and not m.server.approved %}

Available once the mail server's address is approved (step 2, above).

{% endif %}
{% endif %} {% endif %} {% if admin and record %} {{ claude_handoff('e-mail sending', handoff_text) }} {% if request.query_params.get('record_saved') %}
Record saved.
{% endif %}{% if request.query_params.get('record_error') %}{% endif %} {{ integration_record(record, 'email') }} {% endif %}
{% endblock %} {% block scripts %}{% endblock %}