We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f6f173 commit 6b0c8c4Copy full SHA for 6b0c8c4
1 file changed
config/environments/production.rb
@@ -49,3 +49,14 @@
49
# Send deprecation notices to registered listeners
50
config.active_support.deprecation = :notify
51
end
52
+
53
+ActionMailer::Base.smtp_settings = {
54
+ :address => 'smtp.sendgrid.net',
55
+ :port => '587',
56
+ :authentication => :plain,
57
+ :user_name => ENV['SENDGRID_USERNAME'],
58
+ :password => ENV['SENDGRID_PASSWORD'],
59
+ :domain => 'hackety-hack.com'
60
+}
61
+ActionMailer::Base.delivery_method = :smtp
62
0 commit comments