{% extends 'WebProfilerBundle:Profiler:layout.html.twig' %} {% block toolbar %} {% if collector.messageCount %} {% set icon %}
{% endset %} {% set text %} {% for name in collector.mailers %}Mailer | Messages |
---|---|
{{ name }}{{ collector.isDefaultMailer(name) ? ' (default mailer)' : '' }} | {{ collector.messageCount(name) }} {{ collector.isSpool(name) ? 'spooled' : 'sent' }} |
No message sent.
{% else %}{{ header }}{% endfor %}
{%- if messagePart.charset is defined and message.charset %} {{- message.body|e('html', message.charset)|convert_encoding('UTF-8', message.charset) }} {%- else %} {{- message.body|e('html') }} {%- endif -%}{% for messagePart in message.children if messagePart.contentType == 'text/plain' or messagePart.contentType == 'text/html' %}
{%- if messagePart.charset %} {{- messagePart.body|e('html', messagePart.charset)|convert_encoding('UTF-8', messagePart.charset) }} {%- else %} {{- messagePart.body|e('html') }} {%- endif -%}{% endfor %}