Skip to content

Commit b8e2d2e

Browse files
committed
fix: Correct user_name usage for SMTP mail
1 parent f574951 commit b8e2d2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/environments/production.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
config.action_mailer.smtp_settings = {
101101
address: ENV["SMTP_ADDRESS"].presence,
102102
port: ENV["SMTP_PORT"].presence&.to_i || 587,
103-
username: ENV["SMTP_USER_NAME"].presence,
103+
user_name: ENV["SMTP_USER_NAME"].presence,
104104
password: ENV["SMTP_PASSWORD"].presence,
105105
authentication: ENV["SMTP_AUTHENTICATION"].presence || "plain",
106106
enable_starttls_auto: ENV["SMTP_STARTTLS_AUTO"] != "false", # defaults to true

0 commit comments

Comments
 (0)