We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e05ef83 commit 51b4c34Copy full SHA for 51b4c34
1 file changed
config/environments/production.rb
@@ -69,10 +69,10 @@
69
# SMTP is default
70
# config.action_mailer.delivery_method = :smtp
71
config.action_mailer.smtp_settings = {
72
- address: ENV["SMTP_ADDRESS"],
+ address: Rails.application.secrets.SMTP_ADDRESS,
73
port: 465,
74
- user_name: ENV["SMTP_USER_NAME"],
75
- password: ENV["SMTP_PASSWORD"],
+ user_name: Rails.application.secrets.SMTP_USER_NAME,
+ password: Rails.application.secrets.SMTP_PASSWORD,
76
ssl: true,
77
}
78
0 commit comments