Skip to content

Commit 49350e3

Browse files
sendgrid production.rb edited
1 parent 7e1853a commit 49350e3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

config/environments/production.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,9 @@
8282

8383

8484
#These settings are for the sending out email for active admin and consequently the devise mailer
85-
ActionMailer::Base.delivery_method = :smtp
85+
config.action_mailer.raise_delivery_errors = true
86+
config.action_mailer.delivery_method = :smtp
87+
config.action_mailer.perform_deliveries = true
8688
ActionMailer::Base.smtp_settings = {
8789
:address => "smtp.sendgrid.net",
8890
:port => "25",

0 commit comments

Comments
 (0)