password reset mailing
This commit is contained in:
@@ -64,6 +64,15 @@ Rails.application.configure do
|
||||
# config.active_job.queue_name_prefix = "x_stake_production"
|
||||
|
||||
config.action_mailer.perform_caching = false
|
||||
config.action_mailer.smtp_settings = {
|
||||
user_name: ENV["MAILGUN_SMTP_LOGIN"],
|
||||
password: ENV["MAILGUN_SMTP_PASSWORD"],
|
||||
address: ENV["MAILGUN_SMTP_SERVER"],
|
||||
domain: ENV["MAILGUN_DOMAIN"],
|
||||
port: ENV["MAILGUN_SMTP_PORT"],
|
||||
authentication: :plain,
|
||||
}
|
||||
config.action_mailer.default_url_options = { host: ENV["MAILER_DEFAULT_URL_HOST"] }
|
||||
|
||||
# Ignore bad email addresses and do not raise email delivery errors.
|
||||
# Set this to true and configure the email server for immediate delivery to raise delivery errors.
|
||||
|
||||
Reference in New Issue
Block a user