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

Version Path
kazan-0.5.0 templates/smtp.rb
kazan-0.4.0 templates/smtp.rb
kazan-0.3.1 templates/smtp.rb
kazan-0.3.0 templates/smtp.rb
kazan-0.2.4 templates/smtp.rb
kazan-0.2.3 templates/smtp.rb
kazan-0.2.2 templates/smtp.rb
kazan-0.2.1 templates/smtp.rb
kazan-0.2.0 templates/smtp.rb
kazan-0.1.2 templates/smtp.rb
kazan-0.1.1 templates/smtp.rb
kazan-0.1.0 templates/smtp.rb