summaryrefslogtreecommitdiff
path: root/config/environments
diff options
context:
space:
mode:
authorhukl <contact@smyck.org>2009-11-16 18:05:22 +0100
committerhukl <contact@smyck.org>2009-11-16 18:05:22 +0100
commit6ea36eff7389e4e6d2dbc358bf6af0c6966d4ae9 (patch)
tree3d2a83dcf8e800739eb4a70ca8854d397abfec8d /config/environments
parenta9d04a7d13b3b33e4594da942836f0076494f93f (diff)
added action mailer config for production environment
Diffstat (limited to 'config/environments')
-rw-r--r--config/environments/production.rb10
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
29ActionMailer::Base.delivery_method = :sendmail
30ActionMailer::Base.sendmail_settings = {
31 :location => '/usr/sbin/sendmail',
32 :arguments => '-i -t'
33}
34ActionMailer::Base.perform_deliveries = true
35ActionMailer::Base.raise_delivery_errors = true \ No newline at end of file