{% extends "base.html" %} {% block title %}Mail Sent Status{% endblock %} {% block header %}Mail Sent Status{% endblock %} {% block content %}
| ID | Created | Module / Event | Subject | Recipients | Status | Sent At | Error |
|---|---|---|---|---|---|---|---|
| #{{ row.id }} |
{{ row.created_at.strftime('%d-%m-%Y') if row.created_at else '—' }}
{{ row.created_at.strftime('%I:%M %p') if row.created_at else '' }}
|
{{ row.module or '—' }}
{{ row.event or '—' }}
{% if row.related_entity_type and row.related_entity_id %}
{{ row.related_entity_type }} #{{ row.related_entity_id }}
{% endif %}
|
{{ row.subject }}
{% if row.sent_by %}
By {{ row.sent_by.name }}
{% endif %}
|
{{ row.recipients }} | {% if row.status == "Sent" %} Sent {% elif row.status == "Failed" %} Failed {% else %} {{ row.status }} {% endif %} |
{% if row.sent_at %}
{{ row.sent_at.strftime('%d-%m-%Y') }}
{{ row.sent_at.strftime('%I:%M %p') }}
{% else %}
—
{% endif %}
|
{% if row.error_message %}
{{ row.error_message }}
{% else %}
—
{% endif %}
|
| No mail logs found. | |||||||