Include sender mail in from: emails
Closes #277 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
b5e872a670
commit
1a82a64411
@ -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 New Issue
Block a user