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

Version Path
suspenders-1.46.0 templates/smtp.rb
welaika-suspenders-2.28.0 templates/smtp.rb
suspenders-1.45.0 templates/smtp.rb
welaika-suspenders-2.27.0 templates/smtp.rb
voyage-1.44.0.14 templates/smtp.rb
welaika-suspenders-2.26.0 templates/smtp.rb
voyage-1.44.0.13 templates/smtp.rb
voyage-1.44.0.11 templates/smtp.rb
voyage-1.44.0.12 templates/smtp.rb
voyage-1.44.0.10 templates/smtp.rb
voyage-1.44.0.9 templates/smtp.rb
voyage-1.44.0.8 templates/smtp.rb
voyage-1.44.0.7 templates/smtp.rb
voyage-1.44.0.6 templates/smtp.rb
voyage-1.44.0.5 templates/smtp.rb
voyage-1.44.0.4 templates/smtp.rb
voyage-1.44.0.3 templates/smtp.rb
voyage-1.44.0.2 templates/smtp.rb
voyage-1.44.0.1 templates/smtp.rb
suspenders-1.44.0 templates/smtp.rb