We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a1eb791 + f73ef5f commit fefbaf3Copy full SHA for fefbaf3
config/environments/production.rb
@@ -16,11 +16,11 @@
16
config.action_mailer.default_url_options = { host: "humanessentials.app" }
17
config.action_mailer.delivery_method = :smtp
18
config.action_mailer.smtp_settings = {
19
- address: 'smtp.sendgrid.net',
+ address: ENV['SMTP_SERVER'],
20
port: '587',
21
authentication: :plain,
22
- user_name: ENV['SENDGRID_USERNAME'],
23
- password: ENV['SENDGRID_PASSWORD'],
+ user_name: ENV['SMTP_USERNAME'],
+ password: ENV['SMTP_PASSWORD'],
24
domain: 'humanessentials.app',
25
enable_starttls_auto: true
26
}
0 commit comments