Commit 0590445c by Tô Ngọc Ánh

config mail in production (herokuapp)

parent c8741169
Pipeline #885 canceled with stages
in 0 seconds
Rails.application.configure do Rails.application.configure do
config.action_mailer.smtp_settings = {
address: 'smtp.gmail.com',
port: 587,
domain: 'venjob-anhtn.herokuapp.com',
authentication: 'plain',
enable_starttls_auto: true,
user_name: ENV['GMAIL_USERNAME'],
password: ENV['GMAIL_PASSWORD']
}
config.action_mailer.default_url_options = { host: 'venjob-anhtn.herokuapp.com' }
# Settings specified here will take precedence over those in config/application.rb. # Settings specified here will take precedence over those in config/application.rb.
# Code is not reloaded between requests. # Code is not reloaded between requests.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment