Add default bcc

This commit is contained in:
Hugo Peixoto 2022-10-02 13:05:37 +01:00
parent 5182d99198
commit 1a3ecad1eb

View File

@ -1,4 +1,5 @@
class ApplicationMailer < ActionMailer::Base
default from: email_address_with_name(ENV['SMTP_FROM_ADDRESS'], ENV['SMTP_FROM_NAME'])
default bcc: email_address_with_name(ENV['SMTP_FROM_ADDRESS'], ENV['SMTP_FROM_NAME'])
layout "mailer"
end