{% extends (mode == 'ajax') ? "ajax.html.twig" : "page.html.twig" %} {% block content %} {{ _T("Headers") }} {{ _T("From:") }} {{ sender }} {{ _T("To:") }} {% for recipient in recipients %} {% if recipient.email is null and recipient.hasParent() %} {% set email = recipient.parent.email %} {% else %} {% set email = recipient.email %} {% endif %} {{ recipient.sname }} <{{ email }}>{% if not loop.last %}, {% endif %} {% endfor %} {{ _T("Subject:") }} {{ mailing.subject }} {{ _T("Attachments:") }} {% for attachment in attachments %} {{ attachment.getFileName() }} {% else %} - {% endfor %} {{ _T("Mail body") }} {% if mailing.html %} {{ mailing.message }} {% else %} {{ mailing.wrapped_message|escape }} {% endif %} {% endblock %}
{{ mailing.wrapped_message|escape }}