diff options
| -rw-r--r-- | config/environments/production.rb | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/config/environments/production.rb b/config/environments/production.rb index 1fc9f6b..68ceccd 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb | |||
| @@ -24,4 +24,12 @@ config.action_controller.perform_caching = true | |||
| 24 | # config.action_mailer.raise_delivery_errors = false | 24 | # config.action_mailer.raise_delivery_errors = false |
| 25 | 25 | ||
| 26 | # Enable threaded mode | 26 | # Enable threaded mode |
| 27 | # config.threadsafe! \ No newline at end of file | 27 | # config.threadsafe! |
| 28 | |||
| 29 | ActionMailer::Base.delivery_method = :sendmail | ||
| 30 | ActionMailer::Base.sendmail_settings = { | ||
| 31 | :location => '/usr/sbin/sendmail', | ||
| 32 | :arguments => '-i -t' | ||
| 33 | } | ||
| 34 | ActionMailer::Base.perform_deliveries = true | ||
| 35 | ActionMailer::Base.raise_delivery_errors = true \ No newline at end of file | ||
