Sha256: 38af5e46cabf49c845650d2b613876f500f34e91d57713279af6c42ea38e4417
Contents?: true
Size: 419 Bytes
Versions: 34
Compression:
Stored size: 419 Bytes
Contents
SMTP_SETTINGS = { address: ENV.fetch("SMTP_ADDRESS"), # example: "smtp.sendgrid.net" authentication: :plain, domain: ENV.fetch("SMTP_DOMAIN"), # example: "heroku.com" enable_starttls_auto: true, password: ENV.fetch("SMTP_PASSWORD"), port: "587", user_name: ENV.fetch("SMTP_USERNAME") } if ENV["EMAIL_RECIPIENTS"].present? Mail.register_interceptor RecipientInterceptor.new(ENV["EMAIL_RECIPIENTS"]) end
Version data entries
34 entries across 34 versions & 5 rubygems