zulip/templates/zerver/email.html

27 lines
587 B
HTML

{% if from_email != envelope_from %}
<h4>Envelope-From: {{ envelope_from }}</h4>
{% endif %}
<h4>From: {{ from_email }}</h4>
{% if reply_to %}
<h4>Reply To:
{% for email in reply_to %}
{{ email }}&nbsp;
{% endfor %}
</h4>
{% endif %}
<h4>To:
{% for recipient in recipients %}
{{ recipient }}&nbsp;
{% endfor %}
</h4>
<h4>Subject: {{subject}}</h4>
<div class="email-html" style="display: block;">
{% autoescape off %}
{{ html_message }}
{% endautoescape %}
</div>
<div class="email-text" style="display: none;">
<pre>{{ body }}</pre>
</div>
<hr />