Include sender mail in from: emails

Closes #277

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2019-11-19 11:12:59 +01:00
parent b5e872a670
commit 1a82a64411

View File

@ -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"})