From d808feb21df07eb7663ab4af4a8bab55007709a2 Mon Sep 17 00:00:00 2001 From: Uku Taht Date: Tue, 14 Jul 2020 12:55:58 +0300 Subject: [PATCH] Use mailer_from in weekly report --- lib/plausible_web/email.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plausible_web/email.ex b/lib/plausible_web/email.ex index 41b5fbfaf..29959255a 100644 --- a/lib/plausible_web/email.ex +++ b/lib/plausible_web/email.ex @@ -103,7 +103,7 @@ defmodule PlausibleWeb.Email do def weekly_report(email, site, assigns) do base_email() |> to(email) - |> from("Plausible Analytics ") + |> from(mailer_email_from()) |> tag("weekly-report") |> subject("#{assigns[:name]} report for #{site.domain}") |> render("weekly_report.html", Keyword.put(assigns, :site, site))