FEATURE: Include "via <site_name>" in email From header

This commit is contained in:
Gerhard Schlager
2019-01-04 16:06:21 +01:00
parent 788719d271
commit c0a8bb9a91
5 changed files with 15 additions and 10 deletions

View File

@ -37,4 +37,8 @@ module Email
[text&.decoded, html&.decoded]
end
def self.site_title
SiteSetting.email_site_title.presence || SiteSetting.title
end
end