add bcc emails config

This commit is contained in:
Alex Turchyn
2023-09-06 21:41:23 +03:00
parent fca441878a
commit 422639114b
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -39,6 +39,7 @@ class SubmitterMailer < ApplicationMailer
mail(from: from_address_for_submitter(submitter),
to: user.email,
bcc: @current_account.account_configs.find_by(key: 'bcc_emails')&.value,
subject:)
end