mirror of
https://github.com/plausible/analytics.git
synced 2024-12-25 02:24:55 +03:00
Use mailer_from in weekly report
This commit is contained in:
parent
232298d327
commit
d808feb21d
@ -103,7 +103,7 @@ defmodule PlausibleWeb.Email do
|
||||
def weekly_report(email, site, assigns) do
|
||||
base_email()
|
||||
|> to(email)
|
||||
|> from("Plausible Analytics <info@plausible.io>")
|
||||
|> from(mailer_email_from())
|
||||
|> tag("weekly-report")
|
||||
|> subject("#{assigns[:name]} report for #{site.domain}")
|
||||
|> render("weekly_report.html", Keyword.put(assigns, :site, site))
|
||||
|
Loading…
Reference in New Issue
Block a user