1
0
Fork 0
This repository has been archived on 2023-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
lpr-partynest/config/initializers/action_mailer_smtp_settings.rb
2018-12-09 08:56:06 +05:00

16 lines
554 B
Ruby

# frozen_string_literal: true
# Be sure to restart your server when you modify this file.
conf = Rails.application.settings :smtp
ActionMailer::Base.smtp_settings = {
address: conf[:address],
port: conf[:port]&.to_i,
domain: conf[:domain],
user_name: conf[:user_name],
password: conf[:password],
authentication: conf[:authentication]&.to_sym,
enable_starttls_auto: conf[:enable_starttls_auto],
openssl_verify_mode: conf[:openssl_verify_mode],
}.compact.presence