Sha256: 9138ebc3de30a0c0482b367722504aac00e4d5a63b4a2db74f92d8ad6698fcf1
Contents?: true
Size: 424 Bytes
Versions: 12
Compression:
Stored size: 424 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
12 entries across 12 versions & 1 rubygems