diff options
| author | hukl <contact@smyck.org> | 2009-11-16 18:05:22 +0100 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-11-16 18:05:22 +0100 |
| commit | 6ea36eff7389e4e6d2dbc358bf6af0c6966d4ae9 (patch) | |
| tree | 3d2a83dcf8e800739eb4a70ca8854d397abfec8d /config | |
| parent | a9d04a7d13b3b33e4594da942836f0076494f93f (diff) | |
added action mailer config for production environment
Diffstat (limited to 'config')
| -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 | ||
