{% extends "base.html" %} {% block title %}Message #{{ email.id }}{% endblock %} {% block extra_head %} {% endblock %} {% block content %}
| From |
{% set fh = from_header %}
{% if fh %}
{{ fh }}
env: {{ email.sender | default('-') }}
{% else %}
{{ email.sender | default('-') }}
{% endif %}
|
|---|---|
| To |
{% set rcpts = email.recipients_json if email.recipients_json else ([email.recipient] if email.recipient else []) %}
{% if rcpts %}
{% for r in rcpts %}
{{ r }}
{% endfor %}
{% else %}
-
{% endif %}
|
| Cc | {{ cc_header }} |
| Date | {{ email.received_at.strftime('%Y-%m-%d %H:%M:%S') if email.received_at else '-' }} |
| Subject | {{ email.subject | default('(no subject)') }} |
| Client IP | {{ email.client_ip | default('-') }} |
| Message-ID | {{ email.message_id | default('-') }} |
| Size | {% if email.raw_size_bytes %} {% if email.raw_size_bytes >= 1048576 %} {{ '%.2f' % (email.raw_size_bytes / 1048576) }} MB {% elif email.raw_size_bytes >= 1024 %} {{ '%.1f' % (email.raw_size_bytes / 1024) }} KB {% else %} {{ email.raw_size_bytes }} bytes {% endif %} {% else %}-{% endif %} |
| Symbol | Score | Description |
|---|---|---|
| {{ sym.name | default('') }} | {{ '%+.2f' % sym_score }} | {{ sym.description | default('') }} |
{{ headers_text if headers_text else 'No header data available.' }}
{{ email.text_body }}
{% else %}
No text body available.
{% endif %}No HTML body available.
{% endif %}| Filename | Size | Type | {% if current_user.is_superadmin %}{% endif %} |
|---|---|---|---|
| {{ att.filename | default('unknown') }} | {% if att.size_bytes %} {% if att.size_bytes >= 1048576 %}{{ '%.2f' % (att.size_bytes / 1048576) }} MB {% elif att.size_bytes >= 1024 %}{{ '%.1f' % (att.size_bytes / 1024) }} KB {% else %}{{ att.size_bytes }} B{% endif %} {% else %}-{% endif %} | {{ att.content_type | default('-') }} | {% if current_user.is_superadmin %}Download | {% endif %}
Blacklist
{% if bl_email %}Whitelist
{% if wl_email %}