{% extends 'base.html' %} {% load static %} {% block title %}Email Logs - Settings - Optinet Global Links{% endblock %} {% block content %}

Email Activity Logs

Back to Settings
Email Activity ({{ email_logs|length }} of {{ paginator.count }} total)
{% if email_logs %}
{% for log in email_logs %} {% endfor %}
Date/Time Type Recipient Subject Status Sent By Actions
{{ log.sent_at|date:"M d, Y" }}
{{ log.sent_at|time:"H:i" }}
{{ log.get_email_type_display }}
{{ log.recipient_email }} {% if log.recipient_name %}
{{ log.recipient_name }} {% endif %}
{{ log.subject|truncatechars:50 }} {% if log.status == 'sent' %} {{ log.get_status_display }} {% elif log.status == 'failed' %} {{ log.get_status_display }} {% else %} {{ log.get_status_display }} {% endif %} {% if log.sent_by %} {{ log.sent_by.get_full_name|default:log.sent_by.username }} {% else %} System {% endif %} {% if log.error_message %} {% endif %} {% if log.customer_id %} {% endif %} {% if log.employee_id %} {% endif %}
{% if is_paginated %} {% endif %} {% else %}
No email logs found

No emails have been sent yet or match your search criteria.

{% endif %}
{% for log in email_logs %} {% if log.error_message %} {% endif %} {% endfor %} {% endblock %}