diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2011-06-05 22:29:50 +0300 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2011-06-05 22:29:50 +0300 |
commit | c4792d6fee66cd1ab09cf6d115876c6596be917b (patch) | |
tree | 0ae0bebc42baa6d85329f5e4e04c626be02576b7 | |
parent | Don't show (Not available) card on answer pages (diff) | |
download | recruiting-webapp-c4792d6fee66cd1ab09cf6d115876c6596be917b.tar.gz recruiting-webapp-c4792d6fee66cd1ab09cf6d115876c6596be917b.tar.bz2 recruiting-webapp-c4792d6fee66cd1ab09cf6d115876c6596be917b.zip |
Production email configs
Add mail settings from robbat2.
-rw-r--r-- | config/environments/production.rb | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/config/environments/production.rb b/config/environments/production.rb index 27119d2..892b1ab 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -24,5 +24,12 @@ config.action_view.cache_template_loading = true # Disable delivery errors, bad email addresses will be ignored # config.action_mailer.raise_delivery_errors = false +# We care about email errors +config.action_mailer.raise_delivery_errors = true +config.action_mailer.delivery_method = :sendmail +config.action_mailer.sendmail_settings = { :location => '/usr/sbin/sendmail', :arguments => '-i -t -f recruiters@gentoo.org' } +# Real hosting location +config.action_mailer.default_url_options = { :host => 'recruiting.gentoo.org' } + # Enable threaded mode -# config.threadsafe!
\ No newline at end of file +# config.threadsafe! |