Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update mailer.html.twig
This information is important to see the real receivers of sent emails. It was shown using Swiftmailer.
  • Loading branch information
raziel057 authored and chalasr committed Mar 17, 2022
commit 24e7febee31b35956503a4bb92d0cd68e6cbc012
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,13 @@

<span class="label">To</span>
<pre class="prewrap">{{ (message.headers.get('to').bodyAsString() ?? '(empty)')|replace({'To:': ''}) }}</pre>

{% if event.envelope.recipients|length > 0 %}
<span class="label">Recipients</span>
{% for recipient in event.envelope.recipients %}
<pre class="prewrap">{{ recipient.address }}</pre>
{% endfor %}
{% endif %}
</div>
<div class="col">
<span class="label">Headers</span>
Expand Down