mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Change email from to not have via site_name for group SMTP (#13788)
We now use the group's full name in group SMTP emails, so we are dropping the via #{site_name}. If group owners still want this they can just change the full name of the group.
This commit is contained in:
@@ -48,7 +48,7 @@ class GroupSmtpMailer < ActionMailer::Base
|
||||
locale: SiteSetting.default_locale,
|
||||
delivery_method_options: delivery_options,
|
||||
from: from_group.email_username,
|
||||
from_alias: I18n.t('email_from', user_name: group_name, site_name: Email.site_title),
|
||||
from_alias: I18n.t('email_from_without_site', user_name: group_name),
|
||||
html_override: html_override(post),
|
||||
cc: cc_addresses
|
||||
)
|
||||
|
Reference in New Issue
Block a user