Expand and document SMTP configuration

This commit is contained in:
Henne Vogelsang 2016-04-22 17:11:18 +02:00
parent beac27405e
commit 5b0202c052
3 changed files with 25 additions and 16 deletions

View file

@ -76,7 +76,9 @@ Osem::Application.configure do
port: ENV['OSEM_SMTP_PORT'],
user_name: ENV['OSEM_SMTP_USERNAME'],
password: ENV['OSEM_SMTP_PASSWORD'],
authentication: ENV['OSEM_SMTP_AUTHENTICATION']
authentication: ENV['OSEM_SMTP_AUTHENTICATION'].to_sym,
domain: ENV['OSEM_SMTP_DOMAIN'],
enable_starttls_auto: true
}
# Set the secret_key_base from the env, if not set by any other means