From b6645a4acc37d408db8ea7a3035d2041bea5a6e5 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Tue, 19 Nov 2019 11:12:59 +0100 Subject: [PATCH] Include sender mail in from: emails Closes #277 Signed-off-by: Thomas Citharel --- lib/mobilizon_web/email/email.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mobilizon_web/email/email.ex b/lib/mobilizon_web/email/email.ex index ec12bc792..0bcb221c1 100644 --- a/lib/mobilizon_web/email/email.ex +++ b/lib/mobilizon_web/email/email.ex @@ -13,7 +13,7 @@ defmodule MobilizonWeb.Email do args |> new_email() - |> from(Config.instance_email_from()) + |> from({Config.instance_name(), Config.instance_email_from()}) |> put_header("Reply-To", Config.instance_email_reply_to()) |> assign(:instance, instance) |> put_html_layout({MobilizonWeb.EmailView, "email.html"})