Skip to content

Commit

Permalink
Expose the rest of Action Mailer's config
Browse files Browse the repository at this point in the history
  • Loading branch information
strugee committed Aug 16, 2024
1 parent e5122f2 commit bb1f978
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,12 @@
password: ENV.fetch('OSEM_SMTP_PASSWORD', nil),
authentication: ENV.fetch('OSEM_SMTP_AUTHENTICATION', 'plain').try(:to_sym),
domain: ENV.fetch('OSEM_SMTP_DOMAIN', nil),
enable_starttls: ENV.fetch('OSEM_SMTP_ENABLE_STARTTLS', nil),
enable_starttls_auto: ENV.fetch('OSEM_SMTP_ENABLE_STARTTLS_AUTO', nil),
openssl_verify_mode: ENV.fetch('OSEM_SMTP_OPENSSL_VERIFY_MODE', nil)
openssl_verify_mode: ENV.fetch('OSEM_SMTP_OPENSSL_VERIFY_MODE', nil),
tls: ENV.fetch('OSEM_SMTP_TLS', nil),
open_timeout: ENV.fetch('OSEM_SMTP_OPEN_TIMEOUT', nil),
read_timeout: ENV.fetch('OSEM_SMTP_READ_TIMEOUT', nil)
}.compact

# Use memcache cluster as cache store in production
Expand Down

0 comments on commit bb1f978

Please sign in to comment.