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 258550ec94
commit b6645a4acc
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

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