From 359eec23c072301df5bfc6f43b2246f93d44080a Mon Sep 17 00:00:00 2001 From: Son NK <> Date: Sat, 15 Aug 2020 16:58:11 +0200 Subject: [PATCH] take into account spam email during reply phase on refused email page --- app/dashboard/templates/dashboard/refused_email.html | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/app/dashboard/templates/dashboard/refused_email.html b/app/dashboard/templates/dashboard/refused_email.html index a32ecda4..f7a28e3a 100644 --- a/app/dashboard/templates/dashboard/refused_email.html +++ b/app/dashboard/templates/dashboard/refused_email.html @@ -38,13 +38,18 @@ Sent {{ refused_email.created_at | dt }} - From: {{ contact.website_email }}
+ {% if email_log.is_reply %} + From: {{ alias.email }}
+ To: {{ contact.website_email }} + {% else %} + From: {{ contact.website_email }}
- + To: {{ alias.email }} Disable Alias + {% endif %} {% if refused_email.deleted %}
@@ -53,7 +58,7 @@ {% else %} Download → -
This will download a ".eml" file that you can open in your favorite email client
+
This will download a ".eml" file that you can open in your email client
{% endif %}