Fix for email verification issue (GRN-36) (#300)

* <incorrect smtp settings no longer crashes the application>

* <Added rspec tests>

* <>

* Delete env

* Update development.rb
This commit is contained in:
John Ma
2018-10-17 11:42:50 -04:00
committed by Jesus Federico
parent de5bbc44f2
commit 1bb5be68a5
6 changed files with 64 additions and 7 deletions

View File

@ -41,8 +41,8 @@ Rails.application.configure do
enable_starttls_auto: ENV['SMTP_STARTTLS_AUTO'],
}
# Don't care if the mailer can't send.
config.action_mailer.raise_delivery_errors = false
# Do care if the mailer can't send.
config.action_mailer.raise_delivery_errors = true
config.action_mailer.perform_caching = false