Skip to content
This repository was archived by the owner on Aug 29, 2023. It is now read-only.

Commit da79f8e

Browse files
alexstriletsweiweishi
authored andcommitted
fixing SMPT error (#171)
1 parent 78f0c57 commit da79f8e

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

config/environments/development.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@
5454
config.middleware.use ExceptionNotification::Rack,
5555
:email => {
5656
:email_prefix => "[DMPonline4 ERROR] ",
57-
:sender_address => %{"No-reply" ENV["EXCEPT_SENDER"]},
58-
:exception_recipients => %w{ENV["EXCEPT_RECIPIENTS"]}
57+
:sender_address => ENV["EXCEPT_SENDER"],
58+
:exception_recipients => ENV["EXCEPT_RECIPIENTS"]
5959
}
6060

6161
config.action_mailer.perform_deliveries = true

config/environments/production.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@
8787
config.middleware.use ExceptionNotification::Rack,
8888
:email => {
8989
:email_prefix => "[DMPonline4 ERROR] ",
90-
:sender_address => %{"No-reply" ENV["EXCEPT_SENDER"]},
91-
:exception_recipients => %w{ENV["EXCEPT_RECIPIENTS"]}
90+
:sender_address => ENV["EXCEPT_SENDER"],
91+
:exception_recipients => ENV["EXCEPT_RECIPIENTS"]
9292
}
9393

9494

config/environments/staging.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@
8787
config.middleware.use ExceptionNotification::Rack,
8888
:email => {
8989
:email_prefix => "[DMPonline4 ERROR] ",
90-
:sender_address => %{"No-reply" ENV["EXCEPT_SENDER"]},
91-
:exception_recipients => %w{ENV["EXCEPT_RECIPIENTS"]}
90+
:sender_address => ENV["EXCEPT_SENDER"],
91+
:exception_recipients => ENV["EXCEPT_RECIPIENTS"]
9292
}
9393

9494

0 commit comments

Comments
 (0)