added mailer config for production env
This commit is contained in:
parent
41044140b7
commit
cca4830fd5
1 changed files with 13 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue