forked from potsda.mn/mobilizon
Include sender mail in from: emails
Closes #277 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
258550ec94
commit
b6645a4acc
|
@ -13,7 +13,7 @@ defmodule MobilizonWeb.Email do
|
||||||
|
|
||||||
args
|
args
|
||||||
|> new_email()
|
|> new_email()
|
||||||
|> from(Config.instance_email_from())
|
|> from({Config.instance_name(), Config.instance_email_from()})
|
||||||
|> put_header("Reply-To", Config.instance_email_reply_to())
|
|> put_header("Reply-To", Config.instance_email_reply_to())
|
||||||
|> assign(:instance, instance)
|
|> assign(:instance, instance)
|
||||||
|> put_html_layout({MobilizonWeb.EmailView, "email.html"})
|
|> put_html_layout({MobilizonWeb.EmailView, "email.html"})
|
||||||
|
|
Loading…
Reference in a new issue