added mailer config for production env

This commit is contained in:
Connor Turland 2013-07-10 14:30:34 -04:00
parent 41044140b7
commit cca4830fd5

View file

@ -13,6 +13,19 @@ ISSAD::Application.configure do
# Compress JavaScripts and CSS
config.assets.compress = true
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
address: 'mail.metamaps.cc',
port: 587,
user_name: 'team@metamaps.cc',
password: 'RcxX+s:fht49UX',
authentication: 'plain',
enable_starttls_auto: true,
openssl_verify_mode: 'none' }
config.action_mailer.default_url_options = { :host => 'metamaps.cc' }
# Don't care if the mailer can't send
config.action_mailer.raise_delivery_errors = true
# Don't fallback to assets pipeline if a precompiled asset is missed
config.assets.compile = false