Sha256: 5a1078f5cd6e93df1aeb7dfd09a1dd88138248a5c2839b00d30570d00ae2d707
Contents?: true
Size: 402 Bytes
Versions: 3
Compression:
Stored size: 402 Bytes
Contents
# frozen_string_literal: true SMTP_SETTINGS = { address: ENV.fetch('SMTP_ADDRESS'), authentication: :plain, domain: ENV.fetch('SMTP_DOMAIN'), enable_starttls_auto: true, password: ENV.fetch('SMTP_PASSWORD'), port: '587', user_name: ENV.fetch('SMTP_USERNAME') }.freeze if ENV['EMAIL_RECIPIENTS'].present? Mail.register_interceptor RecipientInterceptor.new(ENV['EMAIL_RECIPIENTS']) end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
underlay-2.0 | templates/smtp.rb |
underlay-1.52.1 | templates/smtp.rb |
underlay-1.50.1 | templates/smtp.rb |