Skip to content

Commit

Permalink
fix: Correct user_name usage for SMTP mail
Browse files Browse the repository at this point in the history
  • Loading branch information
sman591 committed Jul 15, 2019
1 parent f574951 commit b8e2d2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
config.action_mailer.smtp_settings = {
address: ENV["SMTP_ADDRESS"].presence,
port: ENV["SMTP_PORT"].presence&.to_i || 587,
username: ENV["SMTP_USER_NAME"].presence,
user_name: ENV["SMTP_USER_NAME"].presence,
password: ENV["SMTP_PASSWORD"].presence,
authentication: ENV["SMTP_AUTHENTICATION"].presence || "plain",
enable_starttls_auto: ENV["SMTP_STARTTLS_AUTO"] != "false", # defaults to true
Expand Down

0 comments on commit b8e2d2e

Please sign in to comment.