{% extends "base.html" %} {% block title %}Mail status — ApprovalFlow{% endblock %} {% block content %}

Mail status

Every email the app tried to send, with its delivery result and whether a copy was saved to the Sent folder.

{% if not configured %}
Mail account not configured — MAIL_USER is empty, so messages are printed to the server console (dev mode) instead of being sent.
{% endif %}
{{ stats.get('sent', 0) }}Sent
{{ stats.get('error', 0) }}Errors
{{ copy_fails }}Sent-copy failures
{{ stats.get('dev', 0) }}Dev mode
{% for m in rows %} {% else %} {% endfor %}
WhenToSubjectRequestDeliverySent folder
{{ m.at }} {{ m.recipients }} {{ m.subject }} {% if m.detail %}
{{ m.detail }}{% endif %}
{% if m.request_id %}#{{ m.request_id }}{% else %}—{% endif %} {% if m.status == 'sent' %}sent {% elif m.status == 'error' %}error {% else %}dev{% endif %} {% if m.sent_copy.startswith('saved') %}{{ m.sent_copy }} {% elif m.sent_copy.startswith('failed') %}copy failed
{{ m.sent_copy }} {% else %}{{ m.sent_copy }}{% endif %}
No mail has been sent yet.
{% endblock %}