Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
email_log: Show reply_to address if present.
Vishnu KS788b6a47e830
diff --git a/templates/zerver/email.html b/templates/zerver/email.htmlindex 3926a8037fb..a3d37b3d679 100644--- a/templates/zerver/email.html+++ b/templates/zerver/email.html@@ -1,4 +1,11 @@<h4>From: {{ from_email }}</h4>+{% if reply_to %}+<h4>Reply To:+ {% for email in reply_to %}+ {{ email }} + {% endfor %}+</h4>+{% endif %}<h4>To:{% for recipient in recipients %}{{ recipient }} diff --git a/zproject/email_backends.py b/zproject/email_backends.pyindex a8e308fada8..86ae7de2ffd 100644--- a/zproject/email_backends.py+++ b/zproject/email_backends.py@@ -67,6 +67,7 @@ class EmailLogBackEnd(BaseEmailBackend):context = {'subject': email.subject,'from_email': email.from_email,+ 'reply_to': email.reply_to,'recipients': email.to,'body': email.body,'html_message': html_message,